Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse strings in distribution definitions #104

Closed
wants to merge 2 commits into from
Closed

Conversation

ChrisRackauckas
Copy link
Contributor

Throws extra logging information to find out if it's even weirder

ChrisRackauckas and others added 2 commits July 19, 2023 13:35
Throws extra logging information to find out if it's even weirder
@ChrisRackauckas
Copy link
Contributor Author

{"id":"8ffae0be-4b6e-4d3c-b1fc-02d7df69a265","name":"initialEst","description":"Default config","timestamp":"2023-07-19T15:31:14","model_id":"ada3d20a-cbc8-4bbd-b6b3-76446fb3cfdb","configuration":{"id":"ada3d20a-cbc8-4bbd-b6b3-76446fb3cfdb","name":"Scenario 3 base model","description":"Scenario 3 base model","model_version":"0.1","schema":"https://raw.githubusercontent.com/DARPA-ASKEM/Model-Representations/petrinet_v0.5/petrinet/petrinet_schema.json","schema_name":"petrinet","model":{"states":[{"id":"S","name":"S","grounding":{"identifiers":{"ido":"0000514"},"modifiers":{}},"units":{"expression":"person","expression_mathml":"<ci>person</ci>"}},{"id":"I","name":"I","grounding":{"identifiers":{"ido":"0000511"},"modifiers":{}},"units":{"expression":"person","expression_mathml":"<ci>person</ci>"}},{"id":"E","name":"E","grounding":{"identifiers":{"apollosv":"0000154"},"modifiers":{}},"units":{"expression":"person","expression_mathml":"<ci>person</ci>"}},{"id":"V","name":"V","grounding":{"identifiers":{"vido":"0001331"},"modifiers":{}},"units":{"expression":"person","expression_mathml":"<ci>person</ci>"}}],"transitions":[{"id":"t1","input":["I","S"],"output":["E","I"],"properties":{"name":"t1"}},{"id":"t2","input":["E"],"output":["I"],"properties":{"name":"t2"}},{"id":"t3","input":["I"],"output":[],"properties":{"name":"t3"}},{"id":"t4","input":["I"],"output":["I","V"],"properties":{"name":"t4"}}]},"semantics":{"ode":{"rates":[{"target":"t1","expression":"I*S*lambda","expression_mathml":"<apply><times/><ci>I</ci><ci>S</ci><ci>lambda</ci></apply>"},{"target":"t2","expression":"E*k","expression_mathml":"<apply><times/><ci>E</ci><ci>k</ci></apply>"},{"target":"t3","expression":"I*delta","expression_mathml":"<apply><times/><ci>I</ci><ci>delta</ci></apply>"},{"target":"t4","expression":"I*alpha*beta*(1 - gamma)","expression_mathml":"<apply><times/><ci>I</ci><ci>alpha</ci><ci>beta</ci><apply><minus/><cn>1</cn><ci>gamma</ci></apply></apply>"}],"initials":[{"target":"S","expression":"2300000.00000000","expression_mathml":"<cn>2300000.0</cn>"},{"target":"I","expression":"0.0","expression_mathml":"<cn>0.0</cn>"},{"target":"E","expression":"1182","expression_mathml":"<cn>1000.0</cn>"},{"target":"V","expression":"934239628.2912","expression_mathml":"<cn>0.0</cn>"}],"parameters":[{"id":"lambda","value":9.06e-08,"name":"Default","distribution":{"type":"Uniform1","parameters":{"minimum":"0","maximum":"0.0001"}}},{"id":"k","value":0.3333333333333333},{"id":"delta","value":0.125},{"id":"alpha","value":500,"distribution":{"type":"Uniform1","parameters":{"minimum":51,"maximum":796}}},{"id":"beta","value":44852600},{"id":"gamma","value":0.125}],"observables":[],"time":{"id":"t","units":{"expression":"day","expression_mathml":"<ci>day</ci>"}}}},"metadata":{"annotations":{"authors":[],"references":[],"locations":[],"pathogens":[],"diseases":[],"hosts":[],"model_types":[]}}},"amr_configuration":null,"calibrated":false,"calibration":null,"calibration_score":null}

@ChrisRackauckas
Copy link
Contributor Author

{"id":"8ffae0be-4b6e-4d3c-b1fc-02d7df69a265","name":"initialEst","description":"Default config","timestamp":"2023-07-19T15:31:14","model_id":"ada3d20a-cbc8-4bbd-b6b3-76446fb3cfdb","configuration":{"id":"ada3d20a-cbc8-4bbd-b6b3-76446fb3cfdb","name":"Scenario 3 base model","description":"Scenario 3 base model","model_version":"0.1","schema":"https://raw.githubusercontent.com/DARPA-ASKEM/Model-Representations/petrinet_v0.5/petrinet/petrinet_schema.json","schema_name":"petrinet","model":{"states":[{"id":"S","name":"S","grounding":{"identifiers":{"ido":"0000514"},"modifiers":{}},"units":{"expression":"person","expression_mathml":"person"}},{"id":"I","name":"I","grounding":{"identifiers":{"ido":"0000511"},"modifiers":{}},"units":{"expression":"person","expression_mathml":"person"}},{"id":"E","name":"E","grounding":{"identifiers":{"apollosv":"0000154"},"modifiers":{}},"units":{"expression":"person","expression_mathml":"person"}},{"id":"V","name":"V","grounding":{"identifiers":{"vido":"0001331"},"modifiers":{}},"units":{"expression":"person","expression_mathml":"person"}}],"transitions":[{"id":"t1","input":["I","S"],"output":["E","I"],"properties":{"name":"t1"}},{"id":"t2","input":["E"],"output":["I"],"properties":{"name":"t2"}},{"id":"t3","input":["I"],"output":[],"properties":{"name":"t3"}},{"id":"t4","input":["I"],"output":["I","V"],"properties":{"name":"t4"}}]},"semantics":{"ode":{"rates":[{"target":"t1","expression":"ISlambda","expression_mathml":"ISlambda"},{"target":"t2","expression":"Ek","expression_mathml":"Ek"},{"target":"t3","expression":"Idelta","expression_mathml":"Idelta"},{"target":"t4","expression":"Ialphabeta*(1 - gamma)","expression_mathml":"Ialphabeta1gamma"}],"initials":[{"target":"S","expression":"2300000.00000000","expression_mathml":"2300000.0"},{"target":"I","expression":"0.0","expression_mathml":"0.0"},{"target":"E","expression":"1182","expression_mathml":"1000.0"},{"target":"V","expression":"934239628.2912","expression_mathml":"0.0"}],"parameters":[{"id":"lambda","value":9.06e-08,"name":"Default","distribution":{"type":"Uniform1","parameters":{"minimum":"0","maximum":"0.0001"}}},{"id":"k","value":0.3333333333333333},{"id":"delta","value":0.125},{"id":"alpha","value":500,"distribution":{"type":"Uniform1","parameters":{"minimum":51,"maximum":796}}},{"id":"beta","value":44852600},{"id":"gamma","value":0.125}],"observables":[],"time":{"id":"t","units":{"expression":"day","expression_mathml":"day"}}}},"metadata":{"annotations":{"authors":[],"references":[],"locations":[],"pathogens":[],"diseases":[],"hosts":[],"model_types":[]}}},"amr_configuration":null,"calibrated":false,"calibration":null,"calibration_score":null}

@ChrisRackauckas
Copy link
Contributor Author

fun.

@ChrisRackauckas ChrisRackauckas deleted the distparse branch July 19, 2023 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants