hopsan icon indicating copy to clipboard operation
hopsan copied to clipboard

Copy blocks resets parameter

Open hopsan-bot opened this issue 7 years ago • 2 comments


Author Name: Martin Hochwallner (@marthoch) Original Redmine Issue: 1617, https://flumes.iei.liu.se/redmine/issues/1617 Original Date: 2016/11/03


coping e.g. a valve + Hydraulic_Volume + Q_type_Plug resets the parameter of the Hydraulic_Volume.

hopsan-bot avatar Feb 23 '18 20:02 hopsan-bot


Original Redmine Comment Author Name: Peter Nordin (@peterNordin) Original Date: 2016/11/05 19:43:48 +0100


I am unable to reproduce this bug. Do you have a test model ? Is the problem reoccurring often ?

Are the parameters reset in the original or in the new copy ?

Is it the "ordinary" parameters or the start values that are lost? Or is it the "unit scaling" ?

hopsan-bot avatar Feb 23 '18 20:02 hopsan-bot


Original Redmine Comment Author Name: Martin Hochwallner (@marthoch) Original Date: 2016/11/07 08:57:28 +0100


HopsanCore 64-bit, Version: 0.8.x_r9084 HopsanGUI 64-bit, Version: 0.8.x_r9103

I can reproduce the bug every time, also after restart, ….

I have changed the parameter V of this special line like hydraulic volume -- see test model. Hydraulic_Volume_2 V=1e-7

In a copy of this snippet (ctrl-c ctrl-v) the parameter is reset to its default value. Hydraulic_Volume_2 V=0.001

hopsan-bot avatar Feb 23 '18 20:02 hopsan-bot