Ramp-Bug.zip
Describe the bug
If a linear transition type is declared in an event set, the solver raised a null character error.
To Reproduce
Open the file
Load the "Flowsheet state" named "IS1"
Open the "Integrator Controls" panel
Run the schedule "sch(int)"
Expected behavior
The mass flow of the water inlet is set to 10 kg/s by the IS1.
The event set will modify this step in two events:
At t=0 the mass flow is set to 20 kg/S
From t=0 to t=1 min the flow should ramp from 20 kg/s to 50 kg/s
But an error is raised (see picture) at launch.
Notes:
- playing with reference field doesn't solved the issue (apparently)
- if only (multiple) step transition are in the set the dynamic calculation is ok
- if the transition type is set to "Log", "Log-inverse" or "Random" is same error is raised.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11 Professional, 25H2
- DWSIM 9.0.5
Additional context
The error was discovered while following this tutorial (https://www.youtube.com/watch?v=kXPXgrOxIoA) about Dynamic Simulation with tank by Curso EV. At 08:15 of the video a 4 events set is build with linear transition, this is when I first encounter the issue.
I build a simpler simulation file for this bug report.
Ramp-Bug.zip
Describe the bug
If a linear transition type is declared in an event set, the solver raised a null character error.
To Reproduce
Open the file
Load the "Flowsheet state" named "IS1"
Open the "Integrator Controls" panel
Run the schedule "sch(int)"
Expected behavior
The mass flow of the water inlet is set to 10 kg/s by the IS1.
The event set will modify this step in two events:
At t=0 the mass flow is set to 20 kg/S
From t=0 to t=1 min the flow should ramp from 20 kg/s to 50 kg/s
But an error is raised (see picture) at launch.
Notes:
Screenshots
Desktop (please complete the following information):
Additional context
The error was discovered while following this tutorial (https://www.youtube.com/watch?v=kXPXgrOxIoA) about Dynamic Simulation with tank by Curso EV. At 08:15 of the video a 4 events set is build with linear transition, this is when I first encounter the issue.
I build a simpler simulation file for this bug report.