How virajdesai0309/dwsim-automation-repo works
This repository is a set of DWSim process-simulation automation exercises, IDAES process-model examples, and heat-exchanger surrogate-model experiments, plus a browser-accessible cloud simulator. The principal interactive workflow is a user submitting a model’s inputs in the browser, the backend selecting and running the corresponding headless DWSim model, and returning results; the README also documents recorded-result fallback. The graph retains the major modeling and ML branches. Several exercise files and frontend behavior were not sampled, so their internal links are omitted rather than inferred.
Main entry points: main.py Simulation API · frontend Simulation UI · combustor_flowsheet.py Combustion Flowsheet · models DWSim Runners
Components 27
Cloud Simulation
- Simulation UI
09_Clould_Based_Simulations/frontend - Simulation API
09_Clould_Based_Simulations/backend/main.py - Model Registry
09_Clould_Based_Simulations/backend/registry.py - DWSim Runners
09_Clould_Based_Simulations/models - Recorded Results
09_Clould_Based_Simulations/frontend/demo/runs
DWSim Automation
- Unit-Operation Exercises
00 FlowSheet Automation - Material-Stream Automation
00 Automation for Material Stream - Pump Automation
01 Automation of Pump - Heat-Exchanger Automation
02 Automation of HEX - Column Automation
04 Automation of Column - Hydroelectric Turbines
05 Automation of Hydroelectric Turbines - Solar-Panel Automation
06 Automation of Solar Panel - Parallel Processing
07 Parallel Processing
IDAES Models
- Mixer Model
08 IDAES PSE Models/00 Mixer Modelling/mixer_models.py - Combustion Flowsheet
08 IDAES PSE Models/01 Flowstream Modelling/combustor_flowsheet.py - Combustion Properties
08 IDAES PSE Models/01 Flowstream Modelling/materials.py - Reaction Package
08 IDAES PSE Models/01 Flowstream Modelling/combustion_reaction.py - DIPPR Correlation
08 IDAES PSE Models/01 Flowstream Modelling/perry.py - Separator Flowsheet
08 IDAES PSE Models/02 Separator Modelling/separator_modelling.py - Hydrocarbon Properties
08 IDAES PSE Models/02 Separator Modelling/compounds.py
Surrogate Models
- ANN Surrogate
10 Surrogate Models/02_ann_model.py - ANN Verification
10 Surrogate Models/03_verification.py - PINN Data Generation
11_PINN_Heat Exchanger/01_data_generation.py - Heat-Exchanger PINN
11_PINN_Heat Exchanger/02_PINN_model.py - PINN Verification
11_PINN_Heat Exchanger/03_verification.py
Other components
- Browser User
- DWSim Solver
Connections 28
- Browser User → Simulation UI: enters inputs
README.md - Simulation UI → Simulation API: submits runs
README.md - Simulation API → Model Registry: loads registry
09_Clould_Based_Simulations/backend/main.py - Model Registry → DWSim Runners: discovers models
09_Clould_Based_Simulations/backend/registry.py - Simulation API → DWSim Runners: dispatches runs
- DWSim Runners → DWSim Solver: runs simulation
README.md - Simulation API → Simulation UI: serves interface
09_Clould_Based_Simulations/backend/main.py - Simulation UI → Recorded Results: shows fallback
README.md - Browser User → Unit-Operation Exercises: follows exercises
README.md - Browser User → Material-Stream Automation: follows exercises
README.md - Browser User → Pump Automation: follows exercises
README.md - Browser User → Heat-Exchanger Automation: follows exercises
README.md - Browser User → Column Automation: follows exercises
README.md - Browser User → Hydroelectric Turbines: follows exercises
README.md - Browser User → Solar-Panel Automation: follows exercises
README.md - Browser User → Parallel Processing: explores example
- Combustion Flowsheet → Combustion Properties: configures package
08 IDAES PSE Models/01 Flowstream Modelling/combustor_flowsheet.py - Combustion Flowsheet → Reaction Package: configures reactions
08 IDAES PSE Models/01 Flowstream Modelling/combustor_flowsheet.py - Combustion Properties → DIPPR Correlation: uses correlation
08 IDAES PSE Models/01 Flowstream Modelling/materials.py - Separator Flowsheet → Hydrocarbon Properties: uses properties
08 IDAES PSE Models/02 Separator Modelling/separator_modelling.py - Browser User → Mixer Model: runs example
- Browser User → Combustion Flowsheet: runs example
- Browser User → Separator Flowsheet: runs example
- Browser User → ANN Surrogate: trains surrogate
- ANN Verification → DWSim Solver: compares simulations
10 Surrogate Models/03_verification.py - Browser User → PINN Data Generation: generates data
- Browser User → Heat-Exchanger PINN: trains network
- Browser User → PINN Verification: checks predictions