Message Boards Message Boards

GROUPS:

How to define input variables for WSMInputFunctions command?

Posted 7 years ago
6499 Views
|
1 Reply
|
0 Total Likes
|

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

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:
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