Message Boards Message Boards

0
|
9074 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

How to define input variables for WSMInputFunctions command?

Posted 9 years ago

How to define input variables for WSMInputFunctions command? For the Insulin Signaling model example, how to give a time varying input for insulin concentration?WSMInputFunctions command is not recognising the input variable which is insulinconcentration.

The link to the Insulin Signaling model is below. https://www.wolfram.com/system-modeler/industry-examples/life-sciences/insulin-receptor-signaling.html

POSTED BY: mrugesh parasa

The insulinConcentration is a parameter in the original model, so that can't vary over time. However, it can easily be changed to an input that you can control.

In the attached model, I have set the insulin.c variable to filter.y, which takes its input from the new insulinConcentration Real input. The filter is needed to avoid SystemModeler trying to take the derivative of an input.

With the attached model, you can do:

varying input

Attachments:
POSTED BY: Malte Lenz
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract