Sage Modeling and Simulation Library

MassVolumeTracker Constructor (ReactionProcessor, Double)

Creates a MVTracker without initial mixture, transfers or capacity specified. The way this is used is to turn off level tracking in a mixture/vessel, then add & remove what is specified (add, then remove), then log the tracker's high and low marks, and finally turn level tracking back on. Note - this is done inside the SOMTask's DoOperations(...) method, and takes the form of

C#
this.GetSOD(graphContext).SetChangeLogging(true);

Namespace:  Highpoint.Sage.Materials
Assembly:  Sage4 (in Sage4.dll)

Syntax


public MassVolumeTracker(
	ReactionProcessor rp,
	double vesselCapacity
)

Parameters

rp
Type: Highpoint.Sage.Materials.Chemistry..::..ReactionProcessor
The ReactionProcessor that knows of any reactions that will take place. Can be null.
vesselCapacity
Type: Double
The capacity of the vessel in which the mixture is being handled.