This forum is now read-only. Please go to https://github.com/DanWBR/dwsim/discussions to post new questions.
No worries, it is not urgent. I can wait. Have a good day,
Hi Hugo, I'm a little busy here but will try to help you asap, please give me 1-2 days. Regards Daniel
Hello, I am trying to simulate an Organic Rankine Cycle in transient with the dynamic mode, but I am new to that mode in DWsim. I've done the dynamic mode tutorial avalaible in the user guide (and it worked out great even with the PID controller), but I think that I don't grasp all the details to run more advanced transient simulations, like : - why and when to use "pressure" or "flow" in the page dynamic for a material stream - how to control the flow rate (since doing it with a valve after a pump...
Hello, I am trying to simulate an Organic Rankine Cycle in transient with the dynamic mode, but I am new to that mode in DWsim. I've done the dynamic mode tutorial avalaible in the user guide (and it worked out great even with the PID controller), but I think that I don't grasp all the details to run more advanced transient simulations, like : - why and when to use "pressure" or "flow" in the page dynamic for a material stream - how to control the flow rate (since doing it with a valve after a pump...
Hello, I am trying to simulate an Organic Rankine Cycle in transient with the dynamic mode, but I am new to that mode in DWsim. I've done the dynamic mode tutorial avalaible in the user guide (and it worked out great even with the PID controller), but I think that I don't grasp all the details to run more advanced transient simulations, like : - why and when to use "pressure" or "flow" in the page dynamic for a material stream - how to control the flow rate (since doing it with a valve after a pump...
perhaps it would be easier to create a new property package inheriting from peng-robinson, for instance, and then replacing the property calculation routine only... https://www.youtube.com/watch?v=UpHO3UEFcuA
I am running a simulation where I have a number of compounds created and I want to force compressibility factor for both specific streams and entire workbook. This is becoming an issue because I will go into the property overide for all compressibility values in both phases (mixed and vapour) and saved this, yet it will still force an EOS calculation. What does everyone recommend? Should I instead just try to set the factors used in the EOS calculation, such as eccentric factor, critical temp/pressure,...
I am running a simulation where I have a number of compounds created and I want to force compressibility factor. This is becoming an issue because I will go into the property overide for all compressibility values in both phases (mixed and vapour) and saved this, yet it will still force an EOS calculation. What does everyone recommend? Should I instead just try to set the factors used in the EOS calculation, such as eccentric factor, critical temp/pressure, etc? The issue is, I have had to create...
Above I've corrected formula and I've added simulation file. The paper that I was using is below. To make it easier for myself I've hard writhed equilibrium constant of reaction as 0.0049 after exponentiation
Above I've corrected formula and I've added simulation file. The paper that I was using is below. To make it easier for myself I've hard writhed equilibrium constant of reaction as 0.0049
Hi Word of introduction: I'm new to DWSIM and my English is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: exp(33.8776-(19654.2874/T))x(0.0049xR2xR1^3-P1^2) P1^1.1xR1^1.35 (I've change multiply sign for x because...
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: exp(33.8776-(19654.2874/T))(0.0049R2R1^3-P1^2) P1^1.1*R1^1.35 and below is graph from my reactor. And to...
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: * exp(33.8776-(19654.2874/T))(0.0049R2R1^3-P1^2)* P1^1.1*R1^1.35 and below is graph from my reactor. And...
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: exp(33.8776-(19654.2874/T))(0.0049R2R1^3-P1^2) P1^1.1*R1^1.35 and below is graph from my reactor. And to...
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: exp(33.8776-(19654.2874/T))(0.0049R2R1^3-P1^2) P1^1.1*R1^1.35 and below is graph from my reactor. And to...
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: exp(33.8776-(19654.2874/T))(0.0049R2R1^3-P1^2) P1^1.1*R1^1.35 and below is graph from my reactor. And to...
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: exp(33.8776-(19654.2874/T))(0.0049R2*R1^3-P1^2) P1^1.1*R1^1.35 and below is graph from my reactor. And to...
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: exp(33.8776-(19654.2874/T))(0.0049R2*R1^3-P1^2) P1^1.1*R1^1.35 and below is graph from my reactor. And to...
Above correcting formula, I've added simulation file. The paper that I was using is below. To make it easier for myself I've hard writhed equilibrium constant of reaction as 0.0049
Sorry, I seems that if I paste my formula directly somehow the division sign is added. I've corrected it
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: exp(33.8776-(19654.2874/T))(0.0049R2R1^3-P1^2) P1^1.1*R1^1.35 and below is graph from my reactor. And to...
Also, I noticed expressions like P1\^2 being used. It's unclear whether this is meant to represent a division, an exponentiation, or if it's just an improvised notation (\ do not exist!). If this is intended as a power term, make sure the syntax is compatible with the simulation environment | scripting formula.
If possible, please attach the simulation file so I can take a closer look. It would help greatly in diagnosing whether the issue lies in the reaction kinetics or thermodynamic setup.
To me, this term seems incorrect: exp(33.8776 − 19654.2874 / T) The equation appears to be numerically unstable: as T → low, the exponential term increases rapidly, which accelerates the reaction, consumes the reactants faster, and drives ammonia formation — but the heat release seems either poorly implemented or completely ignored. It’s also unclear whether the user may have accidentally swapped reactants and products (i.e., reversed the stoichiometry), or if the reaction enthalpy (ΔH) is actually...
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: (0.0049*R2*R1\^3-P1\^2)*exp(33.8776-(19654.2874\T)) P1\^1.1*R1\^1.35 and below is graph from my reactor....
Hi Word of introduction: I'm new to DWSIM and my english is my second tong. Like WTF is going on. I've created reactor based on 1979 paper (and some other data as rules of thumb from other papers like 'catalyst void') and everything looks and feels right until I run simulation and exothermic reaction of creating ammonia is sucking all energy until the stream reaches 25deg.C This is my formula: (0.0049*R2*R1\^3-P1\^2)*exp(33.8776-(19654.2874*T)) P1\^1.1*R1\^1.35 and below is graph from my reactor....
My name is Jannis and I am writing my master’s thesis. I have been tasked with creating a tool for a bivalent heating network (for space heating and domestic hot water), and I am now reaching out to you with my questions. My prior knowledge in the field of simulation in general is very limited. About the project The network is intended to consist of 3–4 main components. The main energy producer in winter will be a biomass boiler (in the MW range), which can operate at between 30–100% of its capacity...
sure, i have many versions. I am attaching one where everything goes wrong [hx-9 which is a separate test, ETH evaporator which fails around -58 C hot fluid temp, and NotrogenDeepCooler which also fails at the same temp]. I am working on a refrigeration cycle using either ammonia or ethylene to cool a co2- containing gaseous mixture, but everything goes bad. Let me know if everything here is clear, i was trying so many different ways to bypass this
can you attach the flowsheet?
So, i have had several issues in the past, with very ilogical behavior of HXs and compressors [the CO2 bug reported before] but now i am having such problems again. I am trying to cool down a stream from -55C to -60C using a nitrogen stream at -100C, and the result is either an error message about the HX OR a completely mistaken behavior of the cold stream going to -180C (!) and the hot stream going from -55 to -8C. Error: object variable or with block variable not set [property package vb2572]
Thank you for your answer. So in the Python code that controls the DWsim flowsheet, when I would want to change the "volume", I will write the following line that you sent? myop.InputVariables['volume'] = 100 The name of the scripting variable would be "volume" in my example (like in this screenshot)? The "myop" is the name to access the unit operation? How do I set it up? And in the Python code of the unit operation, what do I change to make the link with this variable and the unit operation co...
Thank you for your answer. So in the Python code that controls the DWsim flowsheet, when I would want to change the "volume", I will write the following line that you sent? myop.InputVariables['volume'] = 100 The name of the scripting variable would be "volume" in my example (like in this screenshot)? The "myop" is the name to access the unit operation? How do I set it up? And in the Python code of the unit operation, what do I change to make the link with this variable and the unit operation co...
Thank you for your answer. So in the Python code that controls the DWsim flowsheet, when I would want to change the "volume", I will write the following line that you sent? myop.InputVariables['volume'] = 100 The name of the scripting variable would be "volume" in my example (like in this screenshot)? And in the Python code of the unit operation, what do I change to make the link with this variable and the unit operation code?
I am running a subroutine using the Flowsheet Object. In it I am referring to a subroutine which has a PFR Object. When I come to set the Input Parameters, for some reason the Temperature parameter is not present. Other properties like Pressure or Temperature delta are present. Has this been missed off the parameter list for some reason? Thankyou in advance. Daniel
Problem seems to have resolved itself - some combination of uninstall, reboot reinstall!
you have to define the variable in the location you took the screenshot of and access it with myop.InputVariables['volume'] = 100
Hello, How can I modify variables of a User model written as a Python script when controlling DWSIM externally via Python using Python.NET? For example, if I have a script that simulates a thermal storage system, where one of the input variables (other than fluid streams) is its volume, and I would like to modify it dynamically (for example to find an optimal shape), how can I do that? Is it with the scripting variables? If yes, how can I do that? Are they avalaible when controling DWsim through...
Estoy aprendiendo a utilizar el programa desde la interfaz de windos pero en mi macbook me aparece distinto el programa y no me permite cambiar la s conversion de unidades, hay manera de cambiarlo?
Does anyone have the same issue, have a solution to this?
i did not understand how to use it simulation nor the opem amphlett
Thermo 1.01. Energy out minus Work in equals change in internal energy. Q - W = Delta U. You tell me it is an exothermic reaction. Therefore Energy (heat) must be removed. In the Isothermal case all heat is removed; it is a negative value. In the Adiabatic case all energy is used to heat up the products of reaction. There should be no energy stream. With Defined Temperature Outlet case, it is intermediate to both of the above. Some heat is used to raise the temperature to the desired level and the...
Thankyou! I did do some hunting for the actual Application file, and it wasnt apparent. First time this have happened, over a number of years of usage and updates. I will try again. Just tried again. It is not appearing to be a shortcut link error, as the Application (DWSIM.exe) is no longer there. ONly the DWSIM.UI.Desktop.exe. Most strange
I suspect that you have done what I have done on a numberof occasions. You have let the installer put the program where it wants to, not where you want it. Try this solution. Right Click on the desktop short cut and choose File location. Then navigate to that location and try to look for a DWSIM.exe file. Choose that and see if it is version 9.02.
Hi. On downloading the latest v9.02 (Windows, DWSIM_v902_win64_setup) , I cannot open the classic UI anymore. The shortcut link is broken, and I cannot find the executable file to which it should be linked. Only the Cross Platform UI is working. Reverting back to v9.01, everything is fine. Am I missing something? Thanks in advance
Ok, I just found my error. Thanks
Hello! I would like to recommend you a very cool and very high quality site where I was able to play slot machines freely and easily. This site is https://beton.ua/promotions and therefore I advise you to play on this site, because here are really the best slot machines that you can play easily and freely. so good luck playing on this site!
nice
Dear Daniel, You are a magician! It solved the issue of having to use two stages and does everything in one stage. I am extremely happy about it and see no reason to use Hysys ever again.
try SRK with these settings:
Dear Friends, I've been super excited to find DWSim recently and have been busy comparing the results with Hysys for my use cases (practically identical). But I came across two quirks that I've had to deal with regarding mixture separation. I am attaching a simple simulation that shows both issues (using Peng-Robinson with standard settings). 1) The vapor stream of the gas/liquid separator becomes heated, requiring an extra cooling step to obtain the actual vapor load. While it's easy to implement...
Dhinesh: Apparently, I forgot to post the converged simulation. Here it is. Frank
Hello everyone. I really enjoyed playing online slot machines on this site in Australia – Stellar Spins Casino . It’s possible to play all the newest online slots here and win real money just by playing. It's very easy to play all the new slots on this site and to complete a short registration! Goodbye!
nice!
Hello @danwbr, I am doing right now the final degree project and I do automation of various chemical processes simulators. The only thing that I cannot do is to specify the compound separations on the compound separator. Do you have any example to do so? It will help me a lot because I almost got what I needed. Thank you very much, Pau
Hello @danwbr, I am doing right now the final degree project and I do automation of various chemical processes simulators. The only thing that I cannot do is to specify the compound separations on the compound separator. Do you have any example to do so? It will help me a lot because I almost got what I needed. Thank you very much, Pau
I got it - I skiped that Dynmaic mode for now. Thank you Frank