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

Automatically generate recall values #212

Open zuckerruebe opened 2 days ago

zuckerruebe commented 2 days ago

Add syntax for automatically introducting recall values.

SUGGESTION:

Automatically collect all variables ending in a ^, e.g. TIn^ into a unit of type 150 (the recall value type) when compiling the deck.

@ahobeost : Wouldn't that be nice?

ahobeost commented 2 days ago

@zuckerruebe Awesome idea! How would we handle the initial value for the recall type?

e.g. Tin^ = 42 @recall(Tin, 42)

zuckerruebe commented 2 days ago

Or we don't go down the path of extending ddck synatx ever further, but hope for the spyder integration and push for something like postfix completion in spyder to automatically create recall values/types in the editor. That would have the disadvantage of being less readable/more stuff in the ddck file.