Simulating the composed models
With the ability to include referenced models, where the same model may be referenced several times, there is need to "compile" the mathematical model that is used for simulation. At the end of the simulation this model can be discarded. Currently something similar happens during the Circuit model simulation, because it generates STG for the circuit, which is then simulated.
Mixing different model types also requires generating some simulation model. Mixing Circuit with an STG would have an STG simulation model. Mixing STG and PN might mean the PN simulation.
With the generated simulation model there is no need for the explicit state recovery in the mathematical model.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Stan
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Slow progress
- Milestone target:
- None
- Started by
- Danil Sokolov
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
For the moment, limit implementation to the following points:
- Only allow mixing models of the same type
Work Items
Work items:
- Fix the simple circuit model simulation: DONE
- Provide combined model simulation with the models of the same type: TODO
- Check new simulation with all models: TODO
- Check referenced simulation models in PN, STG, Circuit and SON plugins: TODO
- Hide interface nodes, when the referenced implementation is shown: TODO
- Draw connection directly to the node inside : TODO
- Choose file for the referenced model from the open file dialog: TODO
- allow referencing items from the workspace: TODO