FinbarArgus / circulatory_autogen

This project aims to automate the process of combining CellML modules into a system model, then doing parameter identification to calibrate to clinical data. Common use cases include generating coupled neuron models, generating neuron to cardiomyocyte models, generating patient specific 0D blood flow networks and more.
Apache License 2.0
2 stars 10 forks source link

Boundary coupling variables should be automatically turned into constants when there is no coupled module #29

Closed FinbarArgus closed 7 months ago

FinbarArgus commented 1 year ago

When coupling to a module that may or may not be there we have to specify in module_config.json whether the variable is a constant or not. We should make this automatic so it can be a "variable" if there is a coupled module with corresponding port, and a constant if not.

FinbarArgus commented 1 year ago

Rather than "variable" or "constant" I should specify these variables as "boundary_variable"

FinbarArgus commented 1 year ago

This is completed and will be pulled in with the next pull request