Hi Micaela,
Currently, the only information that can be fixed and different for each subject is the dosing. As a workaround, you could try to translate this subject-specific information into "dummy dosing." Let me warn you in advance that this is a pretty painful workaround. We hope to implement a better solution in a future release. But until then, here's how you might implement a workaround:
- Add a dummy species to the model to store the subject-specific value. (You must use a species, because doses can only change species.)
- Set the species initial value to 0, and set the units to mole or some other amount unit. (I suggest avoiding concentration units to avoid the complications associated with scaling of concentrations by compartment volume.)
- Create one dose per patient that targets this new species and sets the amount to the appropriate numeric value.
If your model uses DimensionalAnalysis or UnitConversion, you may also need to convert this dummy species to a parameter with more appropriate units. To do so, perform the following additional steps:
- Add a parameter to the model with the appropriate name and units.
- Set ConstantValue to false for this parameter.
- Create a parameter to act as a conversion factor. Set the Value to 1 and the ValueUnits to "(desired units)/(species units)". For example, if the dummy species has units of "mole" but the desired units are second, set this parameter's units to "second/mole".
- Add a repeated assignment rule to set the parameter value. For example, if the dummmy species is named "dummySpecies", the actual parameter is name "k1", and the conversion factor is named "conversion1", then the repeated assignment rule would be "k1 = dummySepcies*conversion1".
Good luck,
-Arthur