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

"assign as" functionality breaks under certain conditions #177

Open ahobeost opened 8 months ago

ahobeost commented 8 months ago

Under certain conditions, the assign statement is not adjusted correctly.

The best example is as follows:

constants 2
:unit1 = 50
:unit2 = 51

ASSIGN ..\:name1.prt :unit1
ASSIGN ..\:name2.prt :unit2

Here, the second line is adjusted correctly, and the first isn't. Removing the colon (:) from the first assign statement then solves the issue.