Hi Daniel, Thanks a lot for taking a look at this. I've attached an Excel with the streams I think you're referring to. Included the complete stream table in another tab as well in case I misunderstood you. Best regards // Gabriel
Hello everyone, At my work we have access to the the proprietary thermodynamics engine Simulis Thermodynamics which can build and manage CAPE-OPEN property packages. I wanted to try using it together with DWSIM. However, there seems to be some mismatch in how the enthalpy of vaporisation is given. Condensation does not seem to be handled correctly when using the simulis package. I've attached a screenshot below to demonstrate. I do realise that this might just as well be an error on their part. Or...
Hello everyone, At my work we have access to the the proprietary thermodynamics engine Simulis Thermodynamics which can build and manage CAPE-OPEN property packages. I wanted to try using it together with DWSIM. However, there seems to be some mismatch in how the enthalpy of vaporisation is given. Condensation does not seem to be handled correctly when using the simulis package. I've attched a screenshot below to demonstrate. I do realise that this might just as well be an error on their part. Or...
I found the error, I had omitted to provide the dataformat arguments. For some reason it allows me to format using some default arguments then. But to be able to save the flowsheet afterwards it needs them explicitly apparently. I.e to solve my problem I added two lines under the imports like this: from unvell.ReoGrid import DataFormat formatflag = DataFormat.CellDataFormatFlag(1) number_args = DataFormat.NumberDataFormatter.NumberFormatArgs() and then corrected the SetRangeDataFormat call to this:...
Cool! Thanks for the reply! That construction lets me do the w.AutoFitColumnWidth(0) w.AutoFitColumnWidth(1) without any error or interruption. However if i include the w.SetRangeDataFormat("B3:E18",DataFormat.CellDataFormatFlag.Number) and then attempt to save the simulation after running it still throws an exception with the same error message that i attached above. "System.NullReferenceException: Object reference not set to an instance of an object." My current theory is that maybe I have imported...
Has anyone else tried to do the same thing as me? If yes, is there a more correct way of doing this?
Hello all, I'm new to DWSIM, so I have probably misused the software somehow. But, anyhow, I run into trouble when i want to format a worksheet. The original worksheet was pulling and summarising some stream data. But I can reproduce the errors using the example below. The first error I run into is when i want to set the DataFormat of some cells. The program lets me do it, but if I try to save the simulation after that it crashes, with a long error message. The second issue I have is when I try to...
Has anyone else tried to do the same thing as me? If yes, is there a more correct way of doing this?