CiwPython / Ciw

Ciw is a simulation library for open queueing networks.
http://ciw.readthedocs.io
MIT License
146 stars 42 forks source link

Recommended practices for model configuration storage #218

Open galenseilis opened 8 months ago

galenseilis commented 8 months ago

I am thinking about how to develop and maintain model configurations.

Whichever way I would want to keep things in a versioning system (git).

geraintpalmer commented 3 months ago

We used to have .yml files for this, however it got much more complicated when some inputs were functions or objects, and it got a bit messy when combining with numpy arrays.

I find that the Python file itself if sufficient, as the inputs to ciw.create_network are so readable.

I would recommend keeping models as separate Python files creating the networks, and just importing them into the main script.