Property Packagesimulation Context Property
Allows the PME to convey the PMC a reference to the former’s simulation context.
Definition
Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
The reference to the PME’s simulation context class. For the PMC to use this class, this reference will have to be converted to each of the defined CO Simulation Context interfaces.
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public virtual Object simulationContext { set; }VB
Public Overridable WriteOnly Property simulationContext As Object
SetProperty Value
ObjectThe reference to the PME’s simulation context class. For the PMC to use this class, this reference will have to be converted to each of the defined CO Simulation Context interfaces.
Implements
ICapeUtilitiessimulationContextRemarks
The simulation context
will be PME objects which will expose a given set of CO interfaces. Each of these interfaces will allow the
PMC to call back the PME in order to benefit from its exposed services (such as creation of material
templates, diagnostics or measurement unit conversion). If the PMC does not support accessing the
simulation context, it is recommended to raise the ECapeNoImpl error.
Initially, this method was only present in the ICapeUnit interface. Since ICapeUtilities.SetSimulationContext
is now available for any kind of PMC, ICapeUnit. SetSimulationContext is deprecated.