Hi Behrooz,
Than kyou very much for this great software. It really matches very expensive commercial software.
When HYRCAN start, it remembers the system unit the last time used. But when you save script, system unit will not save in script unless you have changed it in current session.
So, it is quite possible to run a model with wrong units.
For example, you create a model in Metric units and save script. Then you run another model in Imperial units and exit the program. Next time you run HYRCAN the system unit will be Imperial. When you load your previous model script, the system units remain Imperial while the model units were Metric. The user may simply forget to change units and run the model with wrong units.
I think if set units command [set("unit",?] ALWAYS save in script, this risk will remove.
Thank you very much.
Siamak