SPF-OST / pytrnsys

Package that provides functionality to run and process, plot and report TRNSYS simulations
https://pytrnsys.readthedocs.io
GNU General Public License v3.0
11 stars 8 forks source link

Process files should be run sequentially not "function-by-function" #23

Open zuckerruebe opened 3 years ago

zuckerruebe commented 3 years ago

The following snippet doesn't currently work

calcHourly cumsum_qLatkW_fromIce = (MassIce-iceBlockIni)*3.325/36.0
...
calcHourly cumsum_errorQLatkW = cumsum_sumQLatkW - cumsum_qLatkW_fromIce

beacause all the calcHourly (just an example, this holds for all "commands") are processed together, i.e., cumsum_qLatkW_fromIce will not be known in the last line.

This is limiting and confusing. It should be changed to a line-by-line semantics more akin to, e.g., Python.

martin-neugebauer commented 3 years ago

Isn't this the same as #8 ?