GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add easy5, gtsuite, lps, rocets, sima packages and tooling · modelscript/modelscript@1ff80ed

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .actrc
  • .github
    • act-event.json
  • .husky
    • pre-commit
  • README.md
  • apps
    • cli
      • README.md
      • package.json
      • src
        • commands
          • easy5.ts
          • gtsuite.ts
          • lint.ts
          • lps.ts
          • rocets.ts
          • sima.ts
        • main.ts
        • util
          • language-registry.ts
      • tests
        • easy5-command.test.ts
        • gtsuite-command.test.ts
        • lint-command.test.ts
        • rocets-command.test.ts
        • sima-command.test.ts
    • docs
      • README.md
      • docs
        • .vitepress
          • config.ts
        • languages
          • easy5.md
          • gtsuite.md
          • lps.md
          • overview.md
          • rocets.md
          • sima.md
    • ide
      • README.md
  • languages
    • easy5
      • README.md
      • package.json
      • src
        • catalog
          • gp-library.ts
        • dae
          • lowering.ts
        • diagram
          • easy5-diagram.ts
        • index.ts
        • language.ts
        • linear
          • frequency-response.ts
          • index.ts
          • jacobian.ts
          • trim.ts
        • lints
          • index.ts
        • parser
          • easy5-parser.ts
          • table-parser.ts
        • projections
          • easy5ToModelica.ts
          • easy5ToSsp.ts
          • index.ts
        • script
          • user-code.ts
        • types.ts
        • workspace-index.ts
      • tests
        • dae-lowering.test.ts
        • linear-analysis.test.ts
        • lints.test.ts
        • parser.test.ts
        • projections-and-diagram.test.ts
      • tsconfig.json
    • fortran/src
      • dae
        • lowering.ts
      • lints
        • index.ts
    • gtsuite
      • README.md
      • package.json
      • src
        • dae
          • cylinder-dae.ts
          • index.ts
          • mvem-dae.ts
        • diagram
          • gtsuite-diagram-builder.ts
          • index.ts
        • engine
          • engine-gate.ts
          • gtsuite-orchestrator.ts
          • index.ts
        • index.ts
        • language.ts
        • lints
          • index.ts
        • parser
          • gdx-reader.ts
          • gtm-parser.ts
          • index.ts
          • map-parser.ts
        • projections
          • gtsuite-to-modelica.ts
          • gtsuite-to-ssp.ts
          • gtsuite-to-sysml2.ts
          • index.ts
        • thermo
          • combustion.ts
          • fluids.ts
          • heat-transfer.ts
          • index.ts
          • kinetics.ts
        • types.ts
        • workspace-index.ts
      • tests
        • dae.test.ts
        • engine.test.ts
        • linter.test.ts
        • parser.test.ts
        • projections-and-diagram.test.ts
        • thermo.test.ts
      • tsconfig.json
    • lps
      • README.md
      • data
        • texas_pipeline.lps
      • package.json
      • src
        • checkpoint
          • checkpoint-engine.ts
        • graph
          • pipeline-graph.ts
        • index.ts
        • language.ts
        • lints
          • index.ts
        • parser
          • index.ts
          • key-deck-parser.ts
          • lps-xml-parser.ts
          • serializer.ts
        • projections
          • lps-to-sysml2.ts
        • solver
          • controls
            • station-controller.ts
          • eos
            • aga8-detailed.ts
            • cubic-eos.ts
            • gerg2008.ts
            • liquid-properties.ts
          • line-pack
            • line-pack-engine.ts
          • machinery
            • compressor-map.ts
            • pump-curve.ts
          • steady
            • steady-network-solver.ts
          • thermal
            • soil-diffusion.ts
          • transient
            • batch-tracker.ts
            • gas-euler-dae.ts
            • liquid-surge-dae.ts
            • slack-line-solver.ts
        • types.ts
        • verification
          • pipeline-verifier.ts
        • workspace-index.ts
      • tests
        • aga8-eos.test.ts
        • gerg2008.test.ts
        • linter.test.ts
        • machinery-curves.test.ts
        • parser.test.ts
        • slack-line.test.ts
        • soil-thermal.test.ts
        • solvers.test.ts
        • station-and-checkpoint.test.ts
      • tsconfig.json
    • modelica
      • assembly
        • flattener.ts
      • src
        • connections.ts
        • flattener
          • class-flattener.ts
          • elaboration
            • functions-generator.ts
          • expressions
            • functions.ts
        • queries.ts
      • tests
        • flattener-backends.test.ts
    • modelscript/src
      • language.ts
    • olga/src
      • engine
        • ppl-parser.ts
        • tpl-parser.ts
      • lints
        • quick-fixes.ts
    • pscad/tests
      • corpus.test.ts
    • psse
      • README.md
    • rocets
      • README.md
      • package.json
      • src
        • catalog
          • default-maps.ts
          • modules.ts
        • dae
          • lowering.ts
        • diagram
          • index.ts
          • pid-diagram.ts
        • index.ts
        • language.ts
        • lints
          • index.ts
        • parser
          • deck-parser.ts
          • map-parser.ts
        • projections
          • index.ts
          • rocetsToModelica.ts
          • rocetsToSsp.ts
        • script
          • user-routines.ts
        • solver
          • balance.ts
          • index.ts
          • transient.ts
        • thermo
          • combustion.ts
          • fluids.ts
          • gas-dynamics.ts
          • index.ts
        • types.ts
        • workspace-index.ts
      • tests
        • balance.test.ts
        • dae-lowering.test.ts
        • lints.test.ts
        • parser.test.ts
        • projections-and-diagram.test.ts
        • thermo.test.ts
      • tsconfig.json
    • scad
      • src-gen
        • bindings.d.ts
        • bindings.js
      • src
        • language.ts
    • sima
      • README.md
      • package.json
      • src
        • index.ts
        • language.ts
        • lints
          • error-codes.ts
          • index.ts
        • parser
          • card-parser.ts
          • hyd-parser.ts
          • index.ts
          • sima-xml-parser.ts
        • projections
          • index.ts
          • sima-to-modelica.ts
          • sima-to-ssp.ts
          • sima-to-sysml2.ts
        • solver
          • catenary-solver.ts
          • cummins-state-space.ts
          • dae-lowering.ts
          • index.ts
        • types.ts
        • verification
          • dnv-e301.ts
          • fatigue.ts
          • index.ts
          • offset-limits.ts
        • workspace-index.ts
      • tests
        • phase2-and-phase3.test.ts
        • sima.test.ts
      • tsconfig.json
    • sysml2/src
      • contract-verifier.ts
      • language.ts
  • package-lock.json
  • package.json
  • packages
    • diagram
      • README.md
      • src
        • index.ts
        • lps-diagram-builder.ts
        • sima-diagram-builder.ts
      • tests
        • lps-diagram.test.ts
        • sima-diagram.test.ts
    • dsl/src
      • codegen/ide
        • extension-generator.ts
      • dsl
        • automata.ts
        • grammar.ts
    • exchange
      • package.json
      • src
        • cosim
          • index.ts
          • olga-cosim-master.ts
          • participants
            • lps-provider.ts
        • fmu
          • olga-fmu-exporter.ts
      • validation
        • fmi
          • README.md
        • lps-cosim.test.ts
    • ide
      • README.md
      • package.json
      • src
        • controllers
          • custom-editors-controller.ts
        • easy5-editor-provider.ts
        • gtsuite-editor-provider.ts
        • lps-editor-provider.ts
        • rocets-editor-provider.ts
        • sima-editor-provider.ts
      • tests
        • easy5-editor.test.ts
        • gtsuite-editor.test.ts
        • lps-custom-editor.test.ts
        • rocets-editor.test.ts
        • sima-editor.test.ts
    • lsp
      • package.json
      • src
        • browserServerMain.ts
        • handlers
          • analysisEndpoints.ts
        • lsp-bridge.ts
        • nodeServerMain.ts
        • services
          • validation-service.ts
      • tests
        • polyglot-narrow-lints.test.ts
    • runtime
      • assembly
        • index.ts
      • src
        • dae
          • wasm_dae.ts
          • wasm_fold.ts
        • wasm
          • core
            • string_pool.ts
          • dae
            • alias.ts
            • builder.ts
            • fold.ts
            • scalarize.ts
      • tests
        • wasm-fold.test.ts
        • wasm-scalarize.test.ts
  • scripts
    • ci-local.sh
    • lint-lockfile.ts
    • run-act.sh

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.actrc‎

Copy file name to clipboardExpand all lines: .actrc
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@
99

1010
# Force amd64 architecture
1111
--container-architecture linux/amd64
12+
13+
# Enable local artifact server for actions/upload-artifact@v4
14+
--artifact-server-path=.cache/act-artifacts
15+
16+
# Default event payload for pull_request events (needed by nrwl/nx-set-shas)
17+
--eventpath=.github/act-event.json
Collapse file

‎.github/act-event.json‎

Copy file name to clipboard
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"pull_request": {
3+
"number": 1,
4+
"merged": false,
5+
"state": "open",
6+
"base": {
7+
"ref": "main"
8+
},
9+
"head": {
10+
"ref": "main"
11+
}
12+
}
13+
}
Collapse file

‎.husky/pre-commit‎

Copy file name to clipboardExpand all lines: .husky/pre-commit
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env bash
22
set -e
33

4+
# 0. Check Lockfile Consistency & Staging
5+
npm run lint:lockfile
6+
47
# 1. Check Project Graph Cycles
58
npm run lint:cycles
69

Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+24-9Lines changed: 24 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[![VS Marketplace](https://img.shields.io/visual-studio-marketplace/v/modelscript.modelscript?label=VS%20Marketplace&logo=visualstudiocode)](https://marketplace.visualstudio.com/items?itemName=modelscript.modelscript)
1212
[![Open VSX](https://img.shields.io/open-vsx/v/modelscript/modelscript?label=Open%20VSX&logo=eclipseide)](https://open-vsx.org/extension/modelscript/modelscript)
1313

14-
ModelScript is a completely web-native, polyglot incremental compiler and multi-domain engineering intelligence platform. Designed to connect system architecture, physical simulation, CAD geometry, finite element analysis (FEA), computational fluid dynamics (CFD), and formal verification into a unified digital thread, ModelScript eliminates engineering silos through zero-overhead WebAssembly execution and automated cross-domain reasoning.
14+
ModelScript is a Web-native, polyglot compiler & engineering intelligence platform that unifies modern open standards (SysML v2, Modelica, STEP, etc) and legacy/proprietary formats (.pscx, .gtm, .sima, .opi, .ez5, etc) into a continuous digital thread for end-to-end design, simulation, and analysis.
1515

1616
---
1717

@@ -20,12 +20,12 @@ ModelScript is a completely web-native, polyglot incremental compiler and multi-
2020
```
2121
┌──────────────────────────────────────────────────────────────────────────────────────────┐
2222
│ ModelScript Digital Thread │
23-
├─────────────────┬──────────────────┬──────────────────┬─────────────────┬────────────────┤
24-
│ SysML v2 / OSLC│ Modelica / SSP │ STEP / OpenSCAD│ FEA / CFD │ OWL2 Ontology │
25-
│ (Requirements) │ (1D Dynamics) │ (3D Geometry) │ (Continuum) │ (Taxonomies) │
26-
└────────┬────────┴────────┬─────────┴────────┬─────────┴────────┬────────┴────────┬───────┘
27-
│ │ │ │ │
28-
▼ ▼ ▼ ▼ ▼
23+
├──────────────────┬─────────────────┬─────────────────┬─────────────────┬─────────────────┤
24+
│ SysML v2 / OSLC │ Modelica / SSP │ STEP / CAD / CAE│ Power & Fluids │ Legacy & SOTA │
25+
│ (Requirements) │ (1D Dynamics) │ (3D Continuum) │ (PSCAD/OLGA/LPS)│(GT-SUITE/SIMA/+)│
26+
└────────┬─────────┴────────┬────────┴────────┬────────┴────────┬────────┴────────┬────────┘
27+
│ │ │ │ │
28+
▼ ▼ ▼ ▼ ▼
2929
┌──────────────────────────────────────────────────────────────────────────────────────────┐
3030
│ Native WebAssembly GLR Incremental Parsers & CST Arenas │
3131
├──────────────────────────────────────────────────────────────────────────────────────────┤
@@ -76,7 +76,7 @@ Inspired by Rust's Salsa, compilation, name resolution, and specialized class in
7676

7777
## Supported Languages & Domain Capabilities
7878

79-
ModelScript provides first-class support for eleven engineering languages under `languages/`, each powered by a native WASM GLR parser generated by `@modelscript/dsl`:
79+
ModelScript provides first-class support for 19 engineering languages and simulation formats under `languages/`, each powered by native WebAssembly parsers, linear-memory CST arenas, and direct `DAEBuilder` lowering:
8080

8181
| Language & Directory | Domain & Role | Core Capabilities |
8282
| :---------------------------------------------------------------------- | :------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -91,6 +91,14 @@ ModelScript provides first-class support for eleven engineering languages under
9191
| **OpenSCAD**<br>[`languages/scad/`](./languages/scad/) | **Programmatic Constructive Solid Geometry** | Constructive Solid Geometry (CSG) AST evaluation, 3D boolean transformations (union, difference, intersection), parametric dimension extraction, and AST patching. |
9292
| **SSP**<br>[`languages/ssp/`](./languages/ssp/) | **System Structure & Parameterization** | System Structure and Parameterization standard packaging, multi-FMU co-simulation topologies, parameter set bindings, signal dictionary connections, and unit mappings. |
9393
| **PSCAD**<br>[`languages/pscad/`](./languages/pscad/) | **EMT & Power Systems Modeling** | `.pscx`/`.pslx` parsing, Dommel companion-circuit EMT & Bergeron traveling-wave line simulation, IEEE 2800-2022 ride-through verification, COMTRADE `.cfg`/`.dat` I/O, and Modelica/SSP/SLD projection. |
94+
| **OLGA**<br>[`languages/olga/`](./languages/olga/) | **Multiphase Dynamic Flow Assurance** | `.opi`/`.key` parsing, drift-flux hydrodynamic simulation, severe slugging envelope checks, hydrate/wax risk envelopes, and SysML v2/Modelica pipeline projection. |
95+
| **PipelineStudio**<br>[`languages/lps/`](./languages/lps/) | **Pipeline Hydraulics & Transmission** | `.lps`/`.tgx`/`.tlx` pipeline network parsing, steady-state Colebrook-White pressure drop, line pack inventory analysis, dynamic Gas Euler solver, and MAOP limit verification. |
96+
| **PSS/E**<br>[`languages/psse/`](./languages/psse/) | **Transmission Grid Power Flow** | `.raw`/`.dyr` network parsing, Newton-Raphson & Fast Decoupled power flow solving, bus branch thermal utilization, generator active/reactive capability limits, and SLD generation. |
97+
| **EASY5**<br>[`languages/easy5/`](./languages/easy5/) | **Dynamic Simulation & Linear Analysis** | `.ez5`/`.ezm` model parsing, continuous block diagram topology extraction, state-space Jacobians ($A, B, C, D$), frequency response (Bode/Nyquist), and Modelica/SSP export. |
98+
| **ROCETS**<br>[`languages/rocets/`](./languages/rocets/) | **Propulsion & Turbomachinery** | NASA `.roc`/`.deck` liquid rocket engine parsing, power balance cycle solving, turbopump/combustion chamber operating lines, and transient blowdown simulation. |
99+
| **SIMA**<br>[`languages/sima/`](./languages/sima/) | **Offshore Marine & Slender Dynamics** | SINTEF SIMO/RIFLEX card deck and `.sima` XML archive parsing, Cummins 6-DOF floater dynamics, DNV-OS-E301 line safety factors, catenary profile solving, and polar spread diagrams. |
100+
| **GT-SUITE**<br>[`languages/gtsuite/`](./languages/gtsuite/) | **1D Powertrain & Engine Simulation** | `.gtm`/`.gtd` engine deck parsing, Wiebe combustion, Woschni heat transfer, crank-slider kinematics, turbocharger compressor maps, and DNV/emissions gate verification. |
101+
| **Fortran**<br>[`languages/fortran/`](./languages/fortran/) | **Legacy Scientific & Engineering Solvers** | Fixed/free form Fortran (`.f`, `.f90`) parsing, variable declaration extraction, expression conversion, and direct lowering to linear WebAssembly DAE arena. |
94102

95103
---
96104

@@ -251,8 +259,15 @@ npx msx polyglot project chassis.scad --target step --out chassis.step
251259
# Train a parametric surrogate Reduced Order Model
252260
npx msx surrogate MyPlant model.mo --inputs "R,C" --input-bounds "R:1:100,C:0.001:0.1" --outputs "v" --num-samples 100 --out-file surrogate.onnx
253261

254-
# Lint Modelica and polyglot files
262+
# Lint Modelica and polyglot files (supports 19 languages & legacy formats)
255263
npx msx lint model.mo
264+
npx msx lint network.pscx
265+
npx msx lint flowline.opi
266+
267+
# Inspect, simulate, and verify legacy/SOTA industrial models
268+
npx msx pscad simulate microgrid.pscx
269+
npx msx olga simulate subsea_flowline.opi
270+
npx msx gtsuite simulate engine.gtm
256271

257272
# Render a model diagram to SVG
258273
npx msx render MyModel model.mo > diagram.svg
Collapse file

‎apps/cli/README.md‎

Copy file name to clipboardExpand all lines: apps/cli/README.md
+9-2Lines changed: 9 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# @modelscript/cli
55

6-
Unified command-line interface (`modelscript`, alias `msx`) for ModelScript. Provides a high-performance polyglot toolchain for compilation, simulation, optimization, formal verification, enterprise digital thread coexistence, CAD extraction, and package management across Modelica, SysML v2, STEP, and related engineering domains.
6+
Unified command-line interface (`modelscript`, alias `msx`) for ModelScript. Provides a high-performance polyglot toolchain for compilation, simulation, optimization, formal verification, enterprise digital thread coexistence, CAD extraction, and package management across modern open standards (SysML v2, Modelica, STEP) and legacy/SOTA industrial formats (PSCAD, PSS/E, OLGA, GT-SUITE, SIMA, EASY5, ROCETS, LPS, Fortran).
77

88
---
99

@@ -25,7 +25,7 @@ npx msx --daemon <command>
2525

2626
## Command Reference
2727

28-
### 1. Modeling, Flattening, Simulation & Power Systems
28+
### 1. Modeling, Flattening, Simulation & Multi-Physics Domain Solvers
2929

3030
| Command | Description |
3131
| :---------------------------------- | :----------------------------------------------------------------------------------------------- |
@@ -41,6 +41,13 @@ npx msx --daemon <command>
4141
| `msx surrogate <name> [paths...]` | Train or import an AI surrogate model (ROM) and generate C, ONNX, or Modelica code |
4242
| `msx csg <name> <paths...>` | Compile and extract Constructive Solid Geometry (CSG) topologies to 3D meshes |
4343
| `msx pscad <action> [files...]` | Inspect, lint, diff, and simulate PSCAD power system projects (`.pscx`, `.pslx`) and COMTRADE |
44+
| `msx psse <action> [files...]` | Inspect, solve AC power flow, and lint Siemens PTI PSS/E transmission cases (`.raw`) |
45+
| `msx olga <action> [files...]` | Parse, lint, simulate 1D drift-flux dynamics, and verify hydrate/slug limits for OLGA (`.opi`) |
46+
| `msx gtsuite <action> [files...]` | Parse, lint, and simulate GT-SUITE / GT-POWER engine and powertrain models (`.gtm`, `.gtx`) |
47+
| `msx sima <action> [files...]` | Inspect, solve catenary mooring lines, and verify DNV line safety factors for SIMA (`.sima`) |
48+
| `msx easy5 <action> [files...]` | Parse, extract Jacobians ($A, B, C, D$), analyze Bode plots, and simulate EASY5 models (`.ez5`) |
49+
| `msx rocets <action> [files...]` | Parse, balance turbomachinery power cycles, and simulate transient propulsion for NASA ROCETS |
50+
| `msx lps <action> [files...]` | Solve network steady-state and dynamic gas/liquid Euler surge transients for PipelineStudio |
4451

4552
### 2. Formal Verification & Automated Testing
4653

Collapse file

‎apps/cli/package.json‎

Copy file name to clipboardExpand all lines: apps/cli/package.json
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,23 @@
4545
"@modelscript/csv": "*",
4646
"@modelscript/diagram": "*",
4747
"@modelscript/dsl": "*",
48+
"@modelscript/easy5": "*",
4849
"@modelscript/exchange": "*",
4950
"@modelscript/fea": "*",
5051
"@modelscript/fortran": "*",
52+
"@modelscript/gtsuite": "*",
53+
"@modelscript/lps": "*",
5154
"@modelscript/lsp": "*",
5255
"@modelscript/modelica": "*",
5356
"@modelscript/modelscript": "*",
5457
"@modelscript/olga": "*",
5558
"@modelscript/owl2": "*",
5659
"@modelscript/pscad": "*",
5760
"@modelscript/psse": "*",
61+
"@modelscript/rocets": "*",
5862
"@modelscript/runtime": "*",
5963
"@modelscript/scad": "*",
64+
"@modelscript/sima": "*",
6065
"@modelscript/simulate": "*",
6166
"@modelscript/ssp": "*",
6267
"@modelscript/step": "*",

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.