MixerExample110 Class

This is a mixer eample class that models an adiabtic mixer.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[SerializableAttribute]
[CapeHelpURLAttribute("http:\www.epa.gov")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[CapeDescriptionAttribute("An example mixer unit operation using CAPE-OPEN Thermo Version 1.1.")]
[CapeVersionAttribute("1.0")]
[ComVisibleAttribute(true)]
[CapeSupportsThermodynamics11Attribute(true)]
[CapeNameAttribute("MixerExample110")]
[GuidAttribute("56E8FDFD-2000-4264-9B47-745B26BE0EC9")]
[CapeVendorURLAttribute("http:\www.epa.gov")]
[CapeAboutAttribute("US Environmental Protection Agency\nCincinnati, Ohio")]
[CapeConsumesThermoAttribute(true)]
public class MixerExample110 : CapeUnitBase
Inheritance
Object    CapeIdentification    CapeObjectBase    CapeUnitBase    MixerExample110

Remarks

The mixer conducts a material and energy balance to determine output flow from the input flows.

There are four parameters. Only one is used in the calculation, the real-valued pressure drop. The pressure of the material attached to the outlet port is set to the pressure of the lower inlet material objects less the value of the pressure drop parameter. The remaining parameters are provided as a demonstration of integer, boolean and option parameters.

Constructors

MixerExample110 Creates an instance of the CMixerExample110 unit operation.

Properties

ComponentDescription Gets and sets the description of the component.
(Inherited from CapeIdentification)
ComponentName Gets and sets the name of the component.
(Inherited from CapeIdentification)
Parameters Gets the component's collection of parameters.
(Inherited from CapeObjectBase)
Ports Gets the collection of unit operation ports.
(Inherited from CapeUnitBase)
Reports Gets the list of possible reports for the unit operation.
(Inherited from CapeUnitBase)
selectedReport Gets and sets the current active report for the unit operation.
(Inherited from CapeUnitBase)
ValStatus Gets the flag to indicate the unit operation's validation status
(Inherited from CapeUnitBase)

Methods

Calculate Executes the necessary calculations involved in the unit operation model.
(Inherited from CapeUnitBase)
Edit Displays the PMC graphic interface, if available.
(Inherited from CapeUnitBase)
LogMessage Writes a string to the PME's log file.
(Inherited from CapeObjectBase)
NotifyPropertyChanged Notifies the collection that the value of a proparty of the parameter has been changed.
(Inherited from CapeIdentification)
OnCalculate Calculation method for the CMixerExample110 unit operation.
(Overrides CapeUnitBaseOnCalculate)
OnComponentDescriptionChanged Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification)
OnComponentNameChanged Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification)
OnPortCollectionAddingNew Occurs before an item is added to the list.
(Inherited from CapeUnitBase)
OnPortCollectionListChanged Occurs when the list or an item in the list changes.
(Inherited from CapeUnitBase)
OnUnitOperationBeginCalculation Occurs at the start of a unit operation calculation process.
(Inherited from CapeUnitBase)
OnUnitOperationEndCalculation Occurs at the completion of a unit operation calculation process.
(Inherited from CapeUnitBase)
OnUnitOperationValidated Occurs when a unit operation is validated.
(Inherited from CapeUnitBase)
PopUpMessage Writes a message to the terminal.
(Inherited from CapeObjectBase)
ProduceReport Produces the active report for the Mixer operation.
(Overrides CapeUnitBaseProduceReport(String))
throwException Throws and exceptiona and exposes the exception object.
(Inherited from CapeObjectBase)
Validate Validates the unit operation.
(Inherited from CapeUnitBase)

Events

ComponentDescriptionChanged Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification)
ComponentNameChanged Occurs when the user changes of the name of a component.
(Inherited from CapeIdentification)
PortCollectionAddingNew Occurs when the user Adds a new element to the port collection.
(Inherited from CapeUnitBase)
PortCollectionListChanged Occurs when the list or an item in the list changes.
(Inherited from CapeUnitBase)
PropertyChanged Notifies the collection that the value of a proparty of the parameter has been changed.
(Inherited from CapeIdentification)
UnitOperationBeginCalculation Occurs when the user begins the calculation of the unit operation.
(Inherited from CapeUnitBase)
UnitOperationEndCalculation Occurs at the completion of a calculation of a unit operation.
(Inherited from CapeUnitBase)
UnitOperationValidated Occurs when the user validates the unit operation.
(Inherited from CapeUnitBase)

Fields

Extension Methods

GetEnumNames
(Defined by General)
IsValidDouble
(Defined by General)

See Also