- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Generation of model
Generation of model
Generation of model
Hello all,
I'm wondering how can I create multiple instance of a model.
For example, I have an model "Germany", "France" "Cities", and "Road" to simulate the flow of cars in the road.
I'm able to create Cities and link them thanks to Road, but I would like to manage my simulation by specifying in France the number of cities I wish for my simulation, and having a way to generate for 5 cities all the road linking them together. And for 6 cities in France, for another simulation, having directly the road connected, without creating the new cities and write all the "connected()".
Is that possible ?
Or can I generate OpenModelica code thanks to another programming language which will read my inputs (6 cities) and create the "France" model I wish to have ?
Thanks for your help.
Clément.
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Generation of model