Sage Modeling and Simulation Library

Reaction Members

The Reaction type exposes the following members.

Constructors


  Name Description
Public method Reaction(IModel, String, Guid)
Creates a new instance of the Reaction class.
Public method Reaction()()()()
Creates a new instance of the Reaction class.

Methods


  Name Description
Public method AddProduct
Defines a product in this reaction.
Public method AddReactant
Defines a reactant in this reaction.
Public method DeserializeFrom
Reconstitutes this object from the specified XmlSerializationContext.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeIdentity
Initialize the identity of this model object, once.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method React(Mixture)
Causes the reaction to take place, if possible, in (and perform modifications to, the provided target mixture.
Protected method React(Mixture, ArrayList, ArrayList, Double)
Reacts in the specified mix.
Public method SerializeTo
Stores this object to the specified XmlSerializationContext.
Public method ToString
Returns a String that represents the current Object.

Fields


  Name Description
Public field Static member DEFAULT_RI_GUIDMASK
This is a guid that is XOR'ed with the Reaction's guid to obtain the initial guid of its reaction instances.

Properties


  Name Description
Public property Description
A description of this reaction.
Public property Guid
The Guid by which this reaction will be known.
Public property HeatOfReaction
Gets or sets the heat of reaction of this reaction. This is the number of joules added to, or removed from, the reaction when it occurs in the quantities specified. number of joules added to, or removed from, the reaction when it occurs in the quantities and direction specified. In other words, a reaction defined as 1 X + 2 Y <--> 3 Z liberates 2.4 joules when 1 mole of X and 2 moles of Y react to completion.
Public property IsValid
Public property Model
The model to which this reaction belongs.
Public property Name
The name of this reaction.
Public property PercentCompletion
Gets or sets the expected percent completion of this reaction.
Public property Products
Gets the products of this reaction.
Public property Reactants
Gets the reactants of this reaction.
Public property Tag
Gets or sets the tag.

Events


  Name Description
Public event ReactionGoingToHappenEvent
Fired before a reaction is processed.
Public event ReactionHappenedEvent
Fired after a reaction is processed.