Is it possible to create custom (species-specific) conversion factors in Simbiology?
Afficher commentaires plus anciens
Is there a way to create custom (species-specific) conversion factors in SimBiology that can be used by 'unit conversion' to automatically convert dosing units, so that, for example, I can enter a dose in grams for a species with units 'molarity'?
2 commentaires
Jeremy Huard
le 12 Avr 2021
Modifié(e) : Jeremy Huard
le 13 Avr 2021
Hi Shalla,
can you tell us more about the context: do you want to run simulations only or is it in the context of data fitting?
If you only want to run simulations, you could use a parameterized dose. The appoach is shown in the Scale Dose Amount by Body Weight example. For you specific use case you would:
- create parameters MolecularWeight, doseMole, doseGram
- create an initial assignment rule doseMole = doseGram*MolecularWeight
- create a dose with doseMole as its amount
Best regards,
Jérémy
Edit: I had switched doseMole and doseGram in the above steps. It's now corrected.
Réponse acceptée
Plus de réponses (0)
Communautés
Plus de réponses dans SimBiology Community
Catégories
En savoir plus sur Extend Modeling Environment dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!