danwbr / dwsim Goto Github PK
View Code? Open in Web Editor NEWDWSIM is a Steady-State and Dynamic Sequential Modular Chemical Process Simulator for Windows, Linux and macOS.
Home Page: https://dwsim.org
License: GNU General Public License v3.0
DWSIM is a Steady-State and Dynamic Sequential Modular Chemical Process Simulator for Windows, Linux and macOS.
Home Page: https://dwsim.org
License: GNU General Public License v3.0
Describe the issue
DWSIM when shows results for three phase streams uses liquid 1
and liquid 2
. One example where it is confusing is three phase separator where DWSIM uses liquid 1 both for hydrocarbon outlet and water outlet. Instead I suggest to use everywhere
See the below images for clarification.
Screenshots
Desktop (please complete the following information):
Is your feature request related to a problem? Please describe.
All of the quantitative data (for gaseous species) are limited to presentation in molar or mass fractions. In some cases, such as the concentrations of gases, providing the data in vol% is very helpful.
Describe the solution you'd like
As an option, the INDICATORS provided in DWSIM should allow for display values in the % range (mole fraction * 100). This is much more consistent with what operators see on an instrument cluster
Describe alternatives you've considered
None. I just have to realize that the values on the display are molar fractions, instead of volume %.
Additional context
Add any other context or screenshots about the feature request here.
The specification or calculation type for compressor contains:
Comments
COMP-003: A specified or calculated property for this Unit Operation is invalid. Please check it for incorrect specifications or miscalculated values. (name: power, value: -2.96059473233375E-16)
Desktop (please complete the following information):
Describe the bug
DWSIM reports negative reflux ratio. The simulation is repeated in Hysys V11 and it shows correct value!
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Reflux ratio cannot be negative
Simulation files
shortcut-column.zip
Desktop (please complete the following information):
I have attached a testfile1 with three reactions in a equilibrium reactor:
(1): CH4 + H2O <-> CO + 3H2
(2): CH4 + CO2 <-> 2CO + 2H2
(3): 2CH4 + O2 <-> 2CO + 4H2
PP: Peng-Robinson
Running the simulation is possible without errors.
However, increasing the temperature or the pressure of the feed does not change the product composition or the conversion rates in any way. The same behaviour repeates itself if only partial oxidation of methane is simulated.
Expected behavior
As far as i know, any reaction which results in a change of moles in gas phase, shold be at least dependent on pressure.
Desktop (please complete the following information):
Additional context
This behaviour seems to be connected with the presence of O2 within the equation of reaction. I have created 3 further testfiles.
-Testfile2 just contains a comparision between the global and the single three reactions of testfile1 within the equilibrium reactor. (The gibbs reactor is just for further comparisons)
-In Testfile3 i have created a similar setup as in Testfile 1. However, the reactions are carried out based on Methanol instead of Methane. The result is basically the same as in Testfile 1. No change depending on pressure and/or temperature.
The object palette / pressure changers contains only Centrifugal Pump. This element can also be used to simulate other pumps like reciprocating, diaphragm pump, ...
Screenshots
It is recommended to change Centrifugal Pump to Pump and if it is needed add a type parameter in object editor.
Desktop (please complete the following information):
Describe the bug
Some floating windows in DWSIM are modal. The issue is they stay on top of all windows opened in Windows Desktop while they should be modal and stay on top of windows opened inside DWSIM. This makes problems when for example assue you are reading data from a pdf opened in Windows desktop and you are entering them in DWSIM.
Examples
Expected behavior
A modal window shall only stay on top of opened windows in DWSIM not other windows in Desktop.
Desktop (please complete the following information):
Describe the bug
In Gibbs Reactor Object Editor for Elements matrix you can add as many as rows by clicking on the Element button, but you cannot delete them and if you keep them empty, you get error in solving the reactor
It is more strange to see you cannot save the simulation file. DWSIM throw an error like below
Fig 1. Error on saving
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You should be able to simply delete the empty rows
Screenshots
Fig 2. Error in deleting empty row
Desktop (please complete the following information):
Describe the bug
When define a material stream using PVF or TVF, DWSIM accept vapor fraction greater than 1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
DWSIM shall not allow to enter vapor fraction greater than one. Fortunately it does not accept negative vapor fraction.
Describe the bug
There are typos in error message in compressor object editor and the message width is not appropriate. Also the tooltip shown is in another language. See attached screenshot.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Desktop (please complete the following information):
Side note:
For error messages like P_inlet>P_outlet why DWSIM does not give meaningful error message e.g: Outlet pressure cannot be less than the inlet pressure"
IDEA
It seems DWSIM shows the components list everywhere in the order they were added to a simulation! Sometimes it is good to show them in another order like sorted alphabetically or show important components first. The suggestion is one can reorder the components in setting / compounds page!
Another Suggestion
In Hysys which is more a hydrocarbon processing simulator, it shows light hydrocarbon like methane ethane, ... first! It may be useful to have options in compounds page to show different components in different order, so selection and adding new components to a simulation will be much easier.
Category: [Enhancement]
Describe the bug
For consistency it is better to use Molar and Mass basis instead of M and We when column specification is Compound Fraction in Product Stream
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Sample simulation file
Rigorous-Columns.zip
Describe the issue
It is recommended to have certain number of digits after decimal point in displaying the results. One case is mole and mass fractions.
Expected behavior
Use certain number of digits after decimal points for mole and mass fraction
Screenshots
Desktop (please complete the following information):
Additional context
It may be useful to be able to set these numbers in general setting. Other simulator has this kind of setting for example see
Pump can accept a gas stream as inlet and DWSIM does not complain!! This is not real behavior. In the user manual it explains you can set a parameter to ignore vapor in feed but in DWSIM 6.1 there is not such feature.
What is the difference between power required and energy stream? These are confusing while this is not an issue. I think this needs to be discussed with Daniel in more detail.
Note that gas are compressible and the calculation method addressed in user manual cannot be used for gas stream. It seems the calculation is for constant density fluid, so in my opinion DWSIM should refuse accepting gas stream as pump inlet, but it can tolerate occurring vapor in small amount and issue warning to warn user!
Desktop (please complete the following information):
The attached file shows a simple second order esterification in a CSTR.
Acetic Acid + Etahnol -> Ethyl Acetate + Water
A + B = C + D
-rA = k.Ca.Cb, k=0.005
PP: NRTL
T=70C
P=1 bar
F=3600 kg/hr
This is an example taken from FOSSE spoken tutorial.
It works fine in DWSIM 6 but in 6.1 and above returns error. I think this example is a very simple from numerical point of view but DWSIM returns: maximum number of iteration reached !
I assume DWSIM fails in flash calculation as CSTR is a simple algebraic equation here and solver should not fail.
Some interesting findings:
what is the problem? Is there any issue with numerical solver!
In the current version some elements have more than one inlet port. For example separator has six inlet port (why six inlets?)
Mixer has six inlets while splitter has two outlet ports.
I may suggest
[1] Only keep the required inlet/outlet port for example separator can have one inlet. To do this few equipment needs modifying
[2] If it is required to have several inlet/outlet ports like mixer (inlet) and splitter (outlet), it would be great to be able to dynamically able to add new ports from UI. This is the case in Hysys for separator, mixer, splitter. But I think having one inlet port and using a mixer for several feed stream is preferred.
Is your feature request related to a problem? Please describe.
Adding complex kinetics and non standard reaction rate is impossible or error prone and tedious using the current Kinetics and Heterogeneous Kinetics interfaces.
Describe the solution you'd like
Use Python Scripts for complex kinetics as Kinetic script or Kinetic procedure or Advanced kinetic
How to implement
More details and supporting documents will be emailed.
DWSIM 6.3u3 Windows 10 x64
Flash calculation returns spurious phase split with water present
Steps to reproduce the behavior:
Expected behavior
Expected to see vapour, liquid1, and Liquid2 phase, with approx. phasefraction 0.2 (slightly less) of liquid2 as water
However, when water is reduced and methane increased first a split into vapour, liquid1 and then to vapour, liq1, liq2 and molefrac water of 0.1 and methane molefrac 0.3
Additional context
Attached is DWSIm file and the expected output from a 3-phase flash (free water) by Michelsen
It seems Python.NET library supports Python 3.8 (see release 2.5 and above https://github.com/pythonnet/pythonnet/releases)
I appreciate to update DWSIM with latest Python.NET library.
Describe the bug
When Solution inspector is on, it create a ribbon bottom of object properties. It should be displayed blow object properties window and not cover it.
To Reproduce
Steps to reproduce the behavior:
Click on a material stream and look at the results see below figure
Now turn on the Solution Inspector
Press F5 to solve the flowsheet and Solution Inspector appears at the bottom right of screen
See the figure when solution inspector is open
** Expected Behaviour**
The selected compounds for a simulation shall be displayed at the top of list in Setting Window/ Compound. Right now you have to scroll all over the list to find them! A side panel to show selected compounds may be also useful!
Modal windows: Some DWSIM windows like Setting are modal. The issue is they stay over all open windows in current desktop while it shall only stay over open windows in DWSIM
Single click on objects in Flowsheet opens the Object Editors in the sidebar for editing object! This is not good as you may want to relocate object and single click is used to select the object. It is better to use double click for opening Object Editors.
Gas-Liquid Separator: Why the gas-liquid separator has 6 inlet streams! In industry we have no such cases even so, in simulation environment it is enough to use a mixer and the connect the outlet to mixer to separator
Proposal for adding a Roadmap
Daniel,
These are some suggestion to be included into DWSIM roadmap! I highly recommend to ask for volunteers to help and you manage the whole work as a project manager! The https://dwsim.fossee.in/ are a group of talents and can help very much.
Unit Operations
There are some unit operations can be added with some efforts and worth to be included as midterm goals like
Longterm goals
I will send separate ticket.
OS: Windows 10
UI: Classic UI, DWSIM 6 update 7
To replicate the issue
Nothing will appear, you still see the Welcome to DWSIM page! Click on cascade windows, group windows, ... has no effect and you have to save the simulation and open the newly saved file to see the simulation environment
Suggestion
This is only a suggestion and ignore it if is inappropriate!
The Save as icon (button) used in DWSIM classic UI is the standard "Save" icon in every UI for example see
The save as icon normally is a disk and pen, for example see
So, I suggest to be compatible with other standard UI please
Screenshot
Current Save and Save as icons on DWSIM classic UI. The Save all icon is correct.
When DTL is run via python and the script terminates an unhandled exception occurs. Happens both when running
python script.py
and
pythin -i script.py
For the latter exception occurs when interactive pythin is exited with Ctrl-Z
Unhandled Exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Cureos.Numerics.Ipopt.FreeIpoptProblem(IntPtr ipopt_problem)
at Cureos.Numerics.Ipopt.Dispose(Boolean disposing)
at Cureos.Numerics.Ipopt.Finalize()
Expected behavior
No exception.
Desktop (please complete the following information):
Pythin code to reproduce
import clr, array
from System import String, Double, Array, Reflection, Exception
dtlpath = "C:\\Users\ANRA\OneDrive - Ramboll\\Documents\\DWSIM Application Data\\PythonDTL\\"
clr.AddReference(dtlpath + "DWSIM.Thermodynamics.StandaloneLibrary.dll")
from DWSIM.Thermodynamics import Streams, PropertyPackages, CalculatorInterface
from DWSIM.Interfaces.Enums import FlashCalculationType
from DWSIM.Thermodynamics.PropertyPackages.Auxiliary.FlashAlgorithms import *
import CapeOpen
dtlc = CalculatorInterface.Calculator()
print(String.Format("DTL version: {0}", Reflection.Assembly.GetAssembly(dtlc.GetType()).GetName().Version))
print()
dtlc.Initialize()
#nrtl = PropertyPackages.NRTLPropertyPackage(True)
pr = PropertyPackages.PengRobinsonPropertyPackage(True)
dtlc.TransferCompounds(pr)
T = 94+273.15 #K
P = 25*101325.0 #Pa
carray = Array[String](["Water", "Methane", "Propane", "Isobutane", "N-butane", "N-decane"])
comparray = Array[Double]([0.1, 0.3, 0.1, 0.1, 0.1, 0.3])
#result2 = dtlc.PTFlash(pr,3,P,T,carray,comparray)
ms = dtlc.CreateMaterialStream(carray, comparray)
print ("Calculating Material Stream Phase Equilibria and Properties at T = " + str(T) + " K and P = " + str(P) + " Pa")
#print ("Mass Flow = 1000 kg/s")
ms.SetPropertyPackage(pr)
ms.SetPressure(P)
ms.SetTemperature(T)
ms.SetMolarFlow(1.0) # kg/s
#nlvlle=NestedLoopsImmiscible
#nlvlle.StabSearchCompIDs = String(r"Water")
#nlvlle.StabSearchSeverity = 0
#ms.FlashAlgorithm = nlvlle
ms.SetFlashSpec("PT")
ms.Calculate()
vapordensity = ms.GetPhase("Vapor").Properties.density
print("Vapor Phase Density: " + str(vapordensity) + " kg/m3")
print("Vapour molecular weight: " + str(ms.GetPhase("Vapour").Properties.molecularWeight)+ " kg/kmole")
liquiddensity = ms.GetPhase("Liquid1").Properties.density
print("Liquid1 Phase Density: " + str(liquiddensity) + " kg/m3")
print("Liquid1 molecular weight: " + str(ms.GetPhase("liquid1").Properties.molecularWeight) + " kg/kmole")
liquid2density = ms.GetPhase("Liquid2").Properties.density
print("Liquid 2 Phase Density: " + str(liquid2density) + " kg/m3")
print("Liquid2 molecular weight: " + str(ms.GetPhase("Liquid2").Properties.molecularWeight) + " kg/kmole")
for comp in ms.GetPhase("Overall").Compounds.Values:
print(comp.ConstantProperties.Name + " Overall Molar Flow: " + str(comp.MolarFlow) + " mol/s")
vaporflow = ms.GetPhase("Vapor").Properties.massflow
print("Vapor Phase Mass Flow: " + str(vaporflow) + " kg/s")
liquidflow = ms.GetPhase("Liquid1").Properties.massflow
print("Liquid Phase Mass Flow: " + str(liquidflow) + " kg/s")
Describe the bug
For a feed/inlet stream one can set flowrate using one of molar flow, mass flow or volumetric flow! but after setting a flowrate for example mass flowrate other input boxes e.g molar and volumetric liquid flowrate are still active and one also enter a value in those boxes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It is recommended when one of flowrate is set the other input boxes (flowrate) grayed out
Desktop (please complete the following information):
Existing way of defining hypos/pseudos
In the current state hypotheticals/pseudocomponents are entered one by one, which is tedious
Suggestion for improvement
Allow entering/defining a number of components at once in a table style where each hypo is entered with name and a minimum required input e.g. boiling point, density or molecular weight, and optional additional input. In case optional input is not given, these properties are estimated with known methods e.g. Density, molecular weight, Pc, Vc, Tc, accentric factor etc.
Using a table input - hypos defined in other programs can easily be copy pasted
See example below
Dear Medeiros,
It could not possible to solve a simple steam reforming by both equilibrium and Gibbs reactors.
Yours Sincerely,
Hadi Ebrahimi
Describe the bug
In a DWSIM simulation one can connect a stream to a unit operation both as inlet and outlet as the same time. This is not proper behaviour!
To Reproduce
Steps to reproduce the behavior:
Expected behavior
DWSIM shall prevent connecting a stream as inlet and outlet of same unit operation.
A suggestion is DWSIM does not list the feed streams of a unit operation when one select an outlet stream and vice versa
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Further bug
As explained above for compressor one can do as below
Simulation file
Existing way
BIPs/kijs are defined as pairs in a single column
Preferred solution
Consider also enabling a table with the BIP matrix allowing BIPs to be set this way. This way BIPs matrices can be easily copied from e.g. spreadsheet, printed output from software or other process simulator
See example below
Describe the bug
This issue has been reported before (see #13), but seems still not solved!
Description
Look at the below screenshots
Image 1: Notes in Object Editor is not visible with full height
Image 2: Solution Inspector wrongly covers part of Notes in Object Editor
Expected behavior
Desktop (please complete the following information):
Simulator is calculating power demand for a pure CO2 using SRK to be 74kW at 70% adiabatic efficiency. Inlet conditions: 60C , 1 atm, pressure increased by 10 bar. This is different from the 65kWe calculated before the update and the result from alternative process simulators
201030-CO2_compressor.zip
Running a flash with Peng-Robinson in DTL gives different results compared to DWSIM
To Reproduce
See attached python script below for calling DTL and attached DWSIM file
It is also noted that DTL returns the global molecular weight both when calling the vapour and liquid
Expected behavior
Expecting comparable results, DTL returns vapour/liquid, DWSIM returns vapour/liquid/liquid
Expecting the correct molecular weight for each phase and not the global
Desktop (please complete the following information):
Python
import clr, array
from System import String, Double, Array, Reflection, Exception
dtlpath = "C:\\Users\ANRA\OneDrive - Ramboll\\Documents\\DWSIM Application Data\\PythonDTL\\"
clr.AddReference(dtlpath + "DWSIM.Thermodynamics.StandaloneLibrary.dll")
from DWSIM.Thermodynamics import Streams, PropertyPackages, CalculatorInterface
from DWSIM.Interfaces.Enums import FlashCalculationType
from DWSIM.Thermodynamics.PropertyPackages.Auxiliary.FlashAlgorithms import *
import CapeOpen
dtlc = CalculatorInterface.Calculator()
print(String.Format("DTL version: {0}", Reflection.Assembly.GetAssembly(dtlc.GetType()).GetName().Version))
print()
dtlc.Initialize()
#nrtl = PropertyPackages.NRTLPropertyPackage(True)
pr = PropertyPackages.PengRobinsonPropertyPackage(True)
dtlc.TransferCompounds(pr)
T = 94+273.15 #K
P = 25*101325.0 #Pa
carray = Array[String](["Water", "Methane", "Propane", "Isobutane", "N-butane", "N-decane"])
comparray = Array[Double]([0.1, 0.3, 0.1, 0.1, 0.1, 0.3])
#result2 = dtlc.PTFlash(pr,3,P,T,carray,comparray)
ms = dtlc.CreateMaterialStream(carray, comparray)
print ("Calculating Material Stream Phase Equilibria and Properties at T = " + str(T) + " K and P = " + str(P) + " Pa")
#print ("Mass Flow = 1000 kg/s")
ms.SetPropertyPackage(pr)
ms.SetPressure(P)
ms.SetTemperature(T)
ms.SetMolarFlow(1.0) # kg/s
#nlvlle=NestedLoopsImmiscible
#nlvlle.StabSearchCompIDs = String(r"Water")
#nlvlle.StabSearchSeverity = 0
#ms.FlashAlgorithm = nlvlle
ms.SetFlashSpec("PT")
ms.Calculate()
vapordensity = ms.GetPhase("Vapor").Properties.density
print("Vapor Phase Density: " + str(vapordensity) + " kg/m3")
print("Vapour molecular weight: " + str(ms.GetPhase("Vapour").Properties.molecularWeight)+ " kg/kmole")
liquiddensity = ms.GetPhase("Liquid1").Properties.density
print("Liquid1 Phase Density: " + str(liquiddensity) + " kg/m3")
print("Liquid1 molecular weight: " + str(ms.GetPhase("liquid1").Properties.molecularWeight) + " kg/kmole")
liquid2density = ms.GetPhase("Liquid2").Properties.density
print("Liquid 2 Phase Density: " + str(liquid2density) + " kg/m3")
print("Liquid2 molecular weight: " + str(ms.GetPhase("Liquid2").Properties.molecularWeight) + " kg/kmole")
for comp in ms.GetPhase("Overall").Compounds.Values:
print(comp.ConstantProperties.Name + " Overall Molar Flow: " + str(comp.MolarFlow) + " mol/s")
vaporflow = ms.GetPhase("Vapor").Properties.massflow
print("Vapor Phase Mass Flow: " + str(vaporflow) + " kg/s")
liquidflow = ms.GetPhase("Liquid1").Properties.massflow
print("Liquid Phase Mass Flow: " + str(liquidflow) + " kg/s")
flashtest2.zip
Additional context
Add any other context about the problem here.
Describe the bug
Welcome Panel is not shown when the DWSIM main window is empty while the Welcome Panel under Menu-bar/View is selected!
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Describe the bug
Update 1 for DWSIM 6 brings some fix for high resolution screens but it seems unintentionally most of icons on toolbar and local menu and menu bar got inconsistent big size. I have attached some images. I did not such issue in DWSIM 6. or 6.1
Tested on
Windows 10
Screen 1920x1080 Full HD
DWSIM 6 Update 1
Look at the last three icons (right)
OS: Windows 10
DWSIM: Version 6 update 7
To reproduce:
It seems using low flowrate results in high residence time and then full consumption of main reactant hence results in negative values for component molar flow. One suggestion is to use Events in ODE solver to recognize when one of the reactant has been finished and then ODE Solver use zero for reaction rate!
Another issue
The reaction in this simulation is irreversible "N2+3H2 -> 2NH3" DWSIM strangely calculates conversion for NH3 as 1.30516E+13.
The reaction rate is r=k*Ca where k=0.004 and the reverse reaction has been set to zero (both RO and A' and E')
Simulation file has been attached
Please update the DWSIM to latest releases on
Describe the bug
Setting the energy flow of energy stream connected to some unit operations does not work like Compressor.
To Reproduce For Compressor
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
This issue will be completed when other unit operations are tested.
Is your feature request related to a problem? Please describe.
All of the quantitative data (for gaseous species) are limited to presentation in molar or mass fractions. In some cases, such as the concentrations of gases, providing the data in vol% is very helpful.
Describe the solution you'd like
As an option, the INDICATORS provided in DWSIM should allow for display values in the % range (mole fraction * 100). This is much more consistent with what operators see on an instrument cluster
Describe alternatives you've considered
None. I just have to realize that the values on the display are molar fractions, instead of volume %.
Additional context
Add any other context or screenshots about the feature request here.
IMPORTANT: This section is for code-related bugs. For usage issues, please go to the Support Forums.
Describe the bug
The new gibbs reactor solver introduced some regressions (cases that were converging before don't work anymore). A residual value in the error function remains as a result of the convergence process and throws a "convergence error" exception.
Expected behavior
The new solver must work for all previous cases.
Describe the bug
In the flowsheet environment clicking any object (single click) open the object editor in the sidebar. The sidebar width seems different for different object and this causes distracting your attention from focusing on simulation
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A constant sidebar width where user can customize it.
Describe the bug
Following the Introductory courses on DWSIM, Level 1 Task 1 (DWSIM Simulator on YouTube). I have noted to the wrong units for bubble and dew temperature
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Correct temperature unit shall be displayed
System
Describe the bug
In setting window, Reaction tab, when you select reaction in the list it will be highlighted. Clicking on the row the edit window appears. After editing and closing this windows, the Reaction Tab is displayed again but instead of edited row the first row (reaction) will be highlighted. In other words always it jumps to first row
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The highlighted row shall be the same one it was selected /edited.
Describe the bug
The drop down menu for choosing the units in Specification page Condenser and Reboiler tab does not work.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When enter inputs, it is expected to show the units and lets user select unit of input data from drop down menu
Screenshots
Desktop (please complete the following information):
Sample simulation file
It seems auto numbering in DWSIM is started from zero and increased by +1 when a new element is added. It is recommended to use separate numbering for different elements as below
In preparing process documents like PFD and heat and material balance tables you should have sequential number for material stream, pumps, valves, etc ... and it is confusing when in H&M Table your stream number are missing.
Desktop (please complete the following information):
Describe the bug
It seems Heater / Cooler have problem when calculation type is set to Outlet Vapor Mole Fraction. DWSIM solves heater/cooler very quickly with outlet temperature, temperature change or heat added/removed. But for the same setting if you change calculation type to outlet vapor fraction, it fails and a failure message is appeared as below (see attached simulation file):
"Error COOL-006: PT/PV/TV Flash: Maximum number of iterations reached. (T = 818.66 K, P = 601,325.00 Pa, MoleFracs = { 0.333333333333333, 0.333333333333333, 0.333333333333333, })"
To Reproduce
Steps to reproduce the behavior:
Important
The above error is true for heaters. See heater in simulation file and repeat step 2-4 above
Another Issue
The strange behavior is when one of the cooler or heater fails to converge I see the other equipment is red or its outlet is red! What is going wrong here?
Expected behavior
The same calculation result is expected with all calculation type for cooler/heater. Also it seems the convergence is very slow with outlet vapor fraction!
Simulation file
issue-heater-cooler-outlet-vapor-fraction.zip
Desktop (please complete the following information):
Describe the bug
Closing a simulation shows a message window and ask for save any changes! Sometimes this window is not shown at the top of other floating windows and DWSIM does not respond to other actions and one has to close DWSIM from task manager using force close!
To Reproduce
Steps to reproduce the behavior:
Another Bug
When you float a window in DWSIM it seems it behave like a modal window, for example float Watch Panel. Then try to open another program like Excel or Chrome, ... You see the floating window here watch Panel stays at top of all programs and you cannot for example work with Excel or Chrome!
Expected behavior
Screenshots
Desktop (please complete the following information):
By open file from this link https://sourceforge.net/p/dwsim/discussion/844529/thread/d6577f67f5/ (in attach)
Error Loading Flowsheet Graphic Objects: System.InvalidCastException: Приведение строки "59.64677" к типу "Integer" является недопустимым. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) at XMLSerializer.XMLSerializer.Deserialize(Object obj, List
1 xmlprops, Boolean Fields) in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM.Serializers.XML\XMLSerializer.vb:line 92 at DWSIM.Drawing.SkiaSharp.GraphicObjects.GraphicObject.LoadData(List
1 data) in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM.Drawing.SkiaSharp\GraphicObjects\Base\GraphicObject.vb:line 91 at DWSIM.FormMain.AddGraphicObjects(FormFlowsheet form, List1 data, ConcurrentBag
1 excs, String pkey, Int32 shift, Boolean reconnectinlets) in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM\Forms\Main Window\FormMain.vb:line 1106
bug.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.