DanWBR / dwsim

DWSIM is a Steady-State and Dynamic Sequential Modular Chemical Process Simulator for Windows, Linux and macOS.
https://dwsim.org
GNU General Public License v3.0
296 stars 95 forks source link

[Bug] sensitivity study starts with 2nd item of independent variable in version 8.8.2 #681

Open CorinnaBusse opened 2 weeks ago

CorinnaBusse commented 2 weeks ago

Since the update the sensititivy study is buggy as it shows the second item of the iteration and twice the last one image image

ddathayde commented 3 days ago

Hi!

I'm having the same issue with version 8.8.2. It seems like the column showing the independent value is mistakenly starting with the second value and the last value is repeating twice at the end, whereas the column showing the dependent value is correct.

I have a simple simulation file where I'm teaching the Haber-Bosh synthesis of ammonia. In the sensitivity analysis, the pressure of the reactor is changed from 260 bar to 280 bar to check how it influences the conversion of the reactor for ammonia synthesis. The outcomes are as follows:

image