Menu

time-varying boundary condition

2007-01-15
2013-03-22
  • Nobody/Anonymous

    I am curious how to implement a time-varying boundary condition in SBW.

    I suppose it might have something to do "user defined functions" in JDesigner.
    Then I suppose I would want to read a file to define the boundary condition.
    I am wondering if JDesigner emits any kind "initialization block" to the simulators; a piece of code that runs "before" the simulation; where one could, for example load a file that represents the boundary condition as a function of time.

    Where can I find documentation of user defined functions?
    Is there an example in "My Documents\SBML Models" that shows usage of "user defined functions"?

    I am a newbie here; thank you for any pointers.

    Regards,

    Owen

     
    • Frank Bergmann

      Frank Bergmann - 2007-01-17

      Hello Owen,

      sorry for the delayed response. User defined functions, as supported by JDesigner, represent the simplest form of a function, and should probably be named 'macros' ... here the link to the full requirements for a function to pass as valid: http://sbml.org/specifications/sbml-level-2/version-1/html/sbml-level-2.html#SECTION00043000000000000000

      So to answer your question. What JDesigner passes on to a simulator, is an SBML document. Hence no pre-processing will be done on them. Theoretically it would be possible to define a piece-wise function based on your input data, but I'm not sure whether this would be what you want.

      best,
      Frank

       

Log in to post a comment.

MongoDB Logo MongoDB