BoundaryCondition - Indicate species boundary condition

Description

The BoundaryCondition property indicates whether a species object has a boundary condition. If BoundaryCondition is true, the species quantity is determined by InitialAmount and/or a rule object, and not by the reaction rate equation. All SimBiology® species are state variables regardless of BoundaryCondition or ConstantAmount property.

By default BoundaryCondition is false and the reaction rate equations determine the rate of change of a species quantity in the model. Boundary condition is used when a species is modeled as a participant of reactions but the species quantity is not determined by a reaction rate equation.

More Information

Consider the following two use cases of boundary conditions:

Characteristics

Applies toObject: species
Data typeboolean
Data valuestrue or false. The default value is false.
AccessRead/Write

Example

  1. Create a model object

    modelObj = sbiomodel ('my_model');
  2. Add a species object and verify that boundary condition property setting is 'false' or 0.

    speciesObj = addspecies(modelObj, 'glucose');
    get(speciesObj, 'BoundaryCondition')

    MATLAB® returns

    ans =
    
         0
  3. Set boundary condition to 'true' and verify

    set(speciesObj, 'BoundaryCondition', true);
    get(speciesObj, 'BoundaryCondition')

    MATLAB returns

    ans =
    
         1

References

Pratt, W.B., Galigniana, M.D., Morishima, Y., Murphy, P.J. (2004), Role of molecular chaperones in steroid receptor action, Essays Biochem, 40:41-58.

See Also

addrule, addspecies, ConstantAmount, InitialAmount

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS