User Activity

  • Posted a comment on discussion Python Scripting on DWSIM - Open Source Process Simulator

    I accidentally posted the following question in Help (Classic UI): "I've written a user-defined method for "Density" and "Viscosity" and added it to the NRTL package. Now how do I get a specific viscosity in a PythonScript unit operation? I'd like to calculate the viscosity and density for some arbitrary point, something similar to enthalpy = propertypackage.DW_CalcEnthalpy(mix, temp, press, state) " So now I've found this thread. Seems similar, but I can't use GetTDependentProperty, because I want...

  • Posted a comment on discussion Python Scripting on DWSIM - Open Source Process Simulator

    I asked the following question in the wrong branch of this forum (Classic UI)... But it looks like I can solve this problem using this string variable. Only really I wish it were just the object name. "It would be convenient to have something like a "this" (C++) pointer in a Python script. I'd like to get the name of the object that's being calculated, so that I can print it in the console window along with other data. Something like... object_name = this.GetObjectName() print "Currently calculating...

  • Posted a comment on discussion Help (Classic UI) on DWSIM - Open Source Process Simulator

    I've written a user-defined method for "Density" and "Viscosity" and added it to the NRTL package. Now how do I get a specific viscosity in a PythonScript unit operation? I'd like to calculate the viscosity and density for some arbitrary point, something similar to enthalpy = propertypackage.DW_CalcEnthalpy(mix, temp, press, state) Is it possible?

  • Posted a comment on discussion Help (Classic UI) on DWSIM - Open Source Process Simulator

    It would be convenient to have something like a "this" (C++) pointer in a Python script. I'd like to get the name of the object that's being calculated, so that I can print it in the console window along with other data. Something like... object_name = this.GetObjectName() print "Currently calculating "+object_name":\n"

  • Modified a comment on discussion Help (Classic UI) on DWSIM - Open Source Process Simulator

    Daniel, is the spec block still a hack? I am using it to propogate backwards (upstream) in an evaporator set the pressure in one evaporator's condenser to the evaporation section of the previous evaporator. Since I'm propagating pressure and not mass or energy, do you think it would break the balances? Sincerely...

  • Posted a comment on discussion Help (Classic UI) on DWSIM - Open Source Process Simulator

    Daniel, is the spec block still a hack? I am using it to propogate backwards (upstream) in an evaporator set the pressure in one evaporator's condenser to the evaporation section of the previous evaporator. Since I'm propagating pressure and not mass or energy, do you think it would break the balances? Sincerely, John Staško

View All

Personal Data

Username:
red_doctor
Joined:
2005-07-24 15:26:10
Location:
Russia / +08
Gender:
Male

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB