EnergyRecycle Class

Represents an energy recycle convergence block that iterates energy stream values until the recycle loop converges within the specified tolerance.

Definition

Namespace: DWSIM.UnitOperations.SpecialOps
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
[SerializableAttribute]
public class EnergyRecycle : SpecialOpBaseClass
Inheritance
Object    BaseClass    SpecialOpBaseClass    EnergyRecycle

Constructors

EnergyRecycleInitializes a new default instance of the EnergyRecycle class.
EnergyRecycle(String, String) Initializes a new instance of the EnergyRecycle class with a name and description.

Properties

AccelerationMethodGets or sets the convergence acceleration method (e.g. None or Wegstein).
AdjustVarType If an Adjust object is attached to this object, returns a variable describing how this object is used by it (manipulated, controlled or reference).
(Inherited from BaseClass)
Annotation
(Inherited from BaseClass)
AttachedAdjustId If an Adjust object is attached to this object, returns its ID.
(Inherited from BaseClass)
AttachedInfoCarrierId
(Inherited from BaseClass)
AttachedSpecId If an Specification object is attached to this object, returns its ID.
(Inherited from BaseClass)
AttachedUtilities
(Inherited from BaseClass)
Bottom
(Inherited from BaseClass)
Calculated
(Inherited from BaseClass)
CanUsePreviousResults
(Inherited from BaseClass)
ComponentDescription
(Inherited from BaseClass)
ComponentName
(Inherited from BaseClass)
ConvergenceHistoryGets or sets the convergence history (current and previous energy values) for the recycle loop.
ConvergenceParametersGets or sets the convergence tolerance parameters for the energy recycle loop.
CreateChartAction
(Inherited from BaseClass)
DebugMode
(Inherited from BaseClass)
DebugText
(Inherited from BaseClass)
DetailedDebugReport
(Inherited from BaseClass)
DynamicsOnly
(Inherited from BaseClass)
DynamicsSpec
(Inherited from BaseClass)
EnergyFlow Energy Flow property. Only implemented for Energy Streams.
(Inherited from BaseClass)
ErrorMessage Gets or sets the error message regarding the last calculation attempt.
(Inherited from BaseClass)
ExtraProperties
(Inherited from BaseClass)
ExtraPropertiesDescriptions
(Inherited from BaseClass)
ExtraPropertiesTypes
(Inherited from BaseClass)
ExtraPropertiesUnitTypes
(Inherited from BaseClass)
FlowSheet Gets the current flowsheet where this object is located.
(Inherited from BaseClass)
GHGEmissionData
(Inherited from BaseClass)
GraphicObject Gets or sets the graphic object representation of this object in the flowsheet.
(Inherited from BaseClass)
HasPropertiesForDynamicModeGets a value indicating whether this energy recycle block exposes properties for dynamic mode.
(Overrides BaseClassHasPropertiesForDynamicMode)
Height
(Inherited from BaseClass)
InfoCarrierVarType
(Inherited from BaseClass)
IsAdjustAttached Checks if an Adjust operation is attached to this object.
(Inherited from BaseClass)
IsDirty
(Inherited from BaseClass)
IsFunctional
(Inherited from BaseClass)
IsInfoCarrierAttached
(Inherited from BaseClass)
IsSink
(Inherited from BaseClass)
IsSource
(Inherited from BaseClass)
IsSpecAttached Checks if an Specification operation is attached to this object.
(Inherited from BaseClass)
IterationCountGets or sets the current iteration counter during an active convergence run.
IterationsTakenGets or sets the total number of iterations taken during the last convergence run.
LastSolutionInputSnapshot
(Inherited from BaseClass)
LastUpdated
(Inherited from BaseClass)
Left
(Inherited from BaseClass)
MaximumIterationsGets or sets the maximum number of iterations allowed before convergence is considered failed.
MobileCompatibleGets a value indicating whether this energy recycle block is compatible with the DWSIM mobile interface.
(Overrides BaseClassMobileCompatible)
Name Object's Unique ID (Name)
(Inherited from BaseClass)
ObjectClass Gets or sets the simulation object class, which is always Logical for special operations.
(Inherited from SpecialOpBaseClass)
OverrideCalculationRoutine
(Inherited from BaseClass)
Phases Phase collection, only implemented for Material Streams.
(Inherited from BaseClass)
PreferredFlashAlgorithmTag
(Inherited from BaseClass)
ProductAssembly
(Inherited from BaseClass)
ProductAuthor
(Inherited from BaseClass)
ProductContactInfo
(Inherited from BaseClass)
ProductDescription
(Inherited from BaseClass)
ProductName
(Inherited from BaseClass)
ProductPage
(Inherited from BaseClass)
ProductVersion
(Inherited from BaseClass)
PropertyPackage
(Inherited from BaseClass)
Right
(Inherited from BaseClass)
SpecVarType If an Specification object is attached to this object, returns a variable describing how this object is used by it (target or source).
(Inherited from BaseClass)
StoreDetailedDebugReport
(Inherited from BaseClass)
SupportsDynamicModeGets a value indicating whether this energy recycle block supports dynamic simulation mode.
(Overrides BaseClassSupportsDynamicMode)
Top
(Inherited from BaseClass)
UserDefinedChartNames
(Inherited from BaseClass)
Visible
(Inherited from BaseClass)
WegsteinParametersGets or sets the Wegstein acceleration parameters used during convergence.
Width
(Inherited from BaseClass)

Methods

AddDynamicProperty
(Inherited from BaseClass)
AddExtraProperty
(Inherited from BaseClass)
AppendDebugLine
(Inherited from BaseClass)
Calculate Performs one iteration of the energy recycle convergence, applying optional Wegstein acceleration, and updates the connected outlet energy stream with the new energy flow value.
(Overrides BaseClassCalculate(Object))
CheckDirtyStatus
(Inherited from BaseClass)
CheckSpec Checks if a value is valid.
(Inherited from BaseClass)
ClearExtraProperties
(Inherited from BaseClass)
ClearPropertyPackageInstance
(Inherited from BaseClass)
Clone Clones the current object, returning a new one with identical properties.
(Inherited from BaseClass)
CloneJSON Creates a deep copy of this energy recycle block by serializing and deserializing via JSON.
(Overrides BaseClassCloneJSON)
CloneXML Creates a deep copy of this energy recycle block by serializing and deserializing via XML.
(Overrides BaseClassCloneXML)
CloseDynamicsEditForm
(Inherited from BaseClass)
CloseEditFormCloses and disposes the editing form for this energy recycle block if it is open.
(Overrides BaseClassCloseEditForm)
ConnectEnergyStream
(Inherited from BaseClass)
ConnectFeedEnergyStream
(Inherited from BaseClass)
ConnectFeedMaterialStream
(Inherited from BaseClass)
ConnectProductEnergyStream
(Inherited from BaseClass)
ConnectProductMaterialStream
(Inherited from BaseClass)
CopyDataToClipboard Copies the object properties to the Clipboard.
(Inherited from BaseClass)
CreateDynamicProperties
(Inherited from BaseClass)
CreateNew
(Inherited from BaseClass)
DeCalculateResets the iteration counter, effectively unsetting the convergence state.
DeCalculate(Object)
(Inherited from BaseClass)
DisplayDynamicsEditForm
(Inherited from BaseClass)
DisplayEditFormOpens or activates the editing form for this energy recycle block.
(Overrides BaseClassDisplayEditForm)
DisplayExtraPropertiesEditForm
(Inherited from BaseClass)
Dispose
(Inherited from BaseClass)
Dispose(Boolean)
(Inherited from BaseClass)
FT Formats a property string, adding its units in parenthesis.
(Inherited from BaseClass)
GetAsObject
(Inherited from BaseClass)
GetBytesFromResource
(Inherited from BaseClass)
GetChartModel
(Inherited from BaseClass)
GetChartModelNames
(Inherited from BaseClass)
GetConnectionPortsInfo
(Inherited from BaseClass)
GetConnectionPortsList
(Inherited from BaseClass)
GetDebugReport
(Inherited from BaseClass)
GetDebugWriter
(Inherited from BaseClass)
GetDefaultProperties
(Inherited from BaseClass)
GetDisplayDescriptionReturns the localized display description for the energy recycle block type.
(Overrides BaseClassGetDisplayDescription)
GetDisplayNameReturns the localized display name for the energy recycle block type.
(Overrides BaseClassGetDisplayName)
GetDynamicContents
(Inherited from BaseClass)
GetDynamicProperty
(Inherited from BaseClass)
GetDynamicPropertyUnitType
(Inherited from BaseClass)
GetDynamicResidenceTime
(Inherited from BaseClass)
GetDynamicVolume
(Inherited from BaseClass)
GetEditingForm
(Inherited from BaseClass)
GetEnergyBalanceResidual
(Inherited from BaseClass)
GetEnergyConsumption
(Inherited from BaseClass)
GetExtraPropertyValue
(Inherited from BaseClass)
GetFlowsheet
(Inherited from BaseClass)
GetIconBitmapReturns the icon bitmap resource for the energy recycle block.
(Overrides BaseClassGetIconBitmap)
GetIconBitmapBytesReturns the raw bytes of the energy recycle icon image resource.
(Overrides BaseClassGetIconBitmapBytes)
GetMassBalanceResidual
(Inherited from BaseClass)
GetPowerGeneratedOrConsumed
(Inherited from BaseClass)
GetPreferredGraphicObjectHeight
(Inherited from BaseClass)
GetPreferredGraphicObjectWidth
(Inherited from BaseClass)
GetProperties Returns the list of property identifiers available for this energy recycle block filtered by property type.
(Overrides BaseClassGetProperties(PropertyType))
GetProperties2
(Inherited from BaseClass)
GetPropertyDescription
(Inherited from BaseClass)
GetPropertyUnit Returns the unit string for the specified property in the given unit system.
(Overrides BaseClassGetPropertyUnit(String, IUnitsOfMeasure))
GetPropertyUnits2
(Inherited from BaseClass)
GetPropertyValue Returns the value of the specified property converted to the given unit system.
(Overrides BaseClassGetPropertyValue(String, IUnitsOfMeasure))
GetPropertyValue2
(Inherited from BaseClass)
GetReport
(Inherited from BaseClass)
GetStructuredReport
(Inherited from BaseClass)
GetVersion
(Inherited from BaseClass)
IsDynamicProperty
(Inherited from BaseClass)
LoadData Restores the energy recycle state from a list of XML elements.
(Overrides BaseClassLoadData(ListXElement))
MAX Returns the maximum value from an array-like object.
ObjectCopy
(Inherited from BaseClass)
PerformPostCalcValidation
(Inherited from BaseClass)
RemoveDynamicProperty
(Inherited from BaseClass)
RemoveExtraProperty
(Inherited from BaseClass)
RunDynamicModelExecutes the dynamic simulation model step for this energy recycle block (no-op).
(Overrides BaseClassRunDynamicModel)
SaveData Serializes the energy recycle state to a list of XML elements for persistence.
(Overrides BaseClassSaveData)
SetCanUsePreviousResults
(Inherited from BaseClass)
SetDirtyStatus
(Inherited from BaseClass)
SetDynamicProperty
(Inherited from BaseClass)
SetExtraPropertyValue
(Inherited from BaseClass)
SetFlowsheet Sets the Flowsheet to which this object belongs to.
(Inherited from BaseClass)
SetPropertyPackageInstance
(Inherited from BaseClass)
SetPropertyValue Sets the value of the specified property after converting from the given unit system to SI.
(Overrides BaseClassSetPropertyValue(String, Object, IUnitsOfMeasure))
SetPropertyValue2
(Inherited from BaseClass)
Solve
(Inherited from BaseClass)
StoreDebugReport
(Inherited from BaseClass)
ToString
(Inherited from BaseClass)
TransferAdditionalSolidData
(Inherited from BaseClass)
UpdateDynamicsEditForm
(Inherited from BaseClass)
UpdateEditFormRefreshes the displayed data in the editing form if it is currently open.
(Overrides BaseClassUpdateEditForm)
UpdateExtraPropertiesEditForm
(Inherited from BaseClass)
Validate Validates the object, checking its connections and other parameters.
(Inherited from BaseClass)

Fields

Extension Methods

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

See Also