top-sim / topsim

TopSim is a telescope observation and data post-processing simulator, based on a fork of Robert Lexis' CloudSimPy
MIT License
3 stars 3 forks source link

Update `Config` object to ensure that configuration is consistent #17

Open myxie opened 3 years ago

myxie commented 3 years ago

Currently we have data rates read in as data rate/second to multiply if specified as minute based so we multiply these and the bandwidth by 60 in the configuration file; however, the number of flops in our workflow is already modified to be per-minute.

Ideally, we would convert everything to minutes at the same time, or we would do the conversion prior to running the simulation on everything (so calculations are automatically done on a per-minute/hour basis).

Note: when we first did the change to allow for this we multiplied all the tasks costs in the dummy workflows to ensure the numerical values after the change to minutes. We should got back and verify this/make it clear.

This should be made explicit in documentation.