Closed kkowalsk closed 1 week ago
Hi @kkowalsk! Thanks for the report!
The old version of musicbox used the camp solver. We are now using our musica python package which uses the micm solver. All of music box has been rewritten so there may be some things that are wrong.
We'll look into this and see if we can figure out the discrepancy. Thanks for using music box!
I believe this config file contains a configuration for this. Dropping it here so I don't lose it
Hi @K20shores ,
I'm new to MusicBox, how should I configure this configuration file? We are using MusicBox in my class at CU Boulder.
Hi @kkowalsk
The attached configuration file recreates the simulation conditions you listed, assuming I didn't make any typos.
You can use it in two ways.
pip install acom_music_box
. After you install that, a command line tool music_box
should be available for you to use. You would unzip the configuration file, and then run it like this music_box -c /Users/kshores/Downloads/configuration/my_config.json -o ~/Desktop/results.csv
. The command line tool can useful if you already have a configuration you want to run. We are also working to expand the python package so that you could define your simulation entirely in data in python and run simulations that wayHope that helps. In the meantime I'll continue investigating why the values appear to be incorrect.
Oh, gotcha, thanks @K20shores.
I didn't pay close enough attention - I thought maybe you had solved the issue, but you were just dropping the configuration that demonstrates the bug.
I double checked the configuration - yes, that is how we replicated the issue.
@kkowalsk I think we were converting from mol cm-3
to mol m-3
incorrectly, hence the factor of 10^3.
I'll push a fix to the website on Monday morning and ping you when that's done. Thanks for reporting this!
Ah, yup, that makes a lot of sense!
Cool, thanks for the quick turn around on this!
@kkowalsk of course! I've published a fixed; attached is a screenshot of a run of your mechanism on the website. Please let us know if you find anything else incorrect or any new features you may think of!
There appears to be a mathematical error between docker image
1.1.1.
(downloaded last year) and the latest web version (Oct 7th, 24).Inputting the same concentrations and reactions between both models results in different results with the web version appearing to be inaccurate by an order of 10^3.
NOx chemistry reaction:
We are expecting this graph:
But, those results only occur if the concentrations are bumped up by an order of 10^3 to: