Menu

Regarding the implementation of viscosity and density from the flowsheet

nihal
2021-03-09
2021-03-10
  • nihal

    nihal - 2021-03-09

    I was trying to extract the viscosity and density from the flowsheet using the code v=obj.GetPhase('perhydrodibenzyltoulene').Properties.viscosity where the value v is used in other equations but it shows the error as
    TypeError: unsupported operand type(s) for -: 'float' and 'NoneType' while executing the program
    Can some one help in this regard

     
  • nihal

    nihal - 2021-03-10

    Sorry Sir, that was a mistake from my part that I wanted to write phase for the selected phase , even though i wrote the phase v=obj.GetPhase('Overall').Properties.viscosity . I am still getting the same error

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.