Closed pengxiao01 closed 1 month ago
Hi @pengxiao01, thanks for notifying us the issue.
The modified ADM1 related features aren't available in the pip-installed version of QSDsan yet. We're working on a new release. In the meantime, please use the dev
branch of the Github version of QSDsan to access those feature. If you're also using EXPOsan, the bsm2
branch is the compatible version.
This is actually due to a recent update in BioSTEAM, @pengxiao01 you probably installed the pip version of BioSTEAM (or pulled the master
branch instead of the qsdsan
branch). It should be fixed now if you update your env.
Describe the problem While trying to create state variables for MODEL (e.g., ADM1/ASM2D) using create_madm1_cmps(), I encountered a TypeError. It seems that CompiledChemicals._compile() is being called with 3 positional arguments, but the method only accepts 2. Below is the relevant code and error traceback:
To Reproduce
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Versions of the following packages:
If you are using pip-installed ones, you can get the info by
pip show <PACKAGE_NAME>
(e.g.,pip show qsdsan
).If you have cloned any of the following packages, please make sure your local and remote are in sync (either pull remote changes to local or push local changes to remote), then include links or point to the branches/forks you are using.
Operating systems and version [e.g. macOS 12.1, Windows 11] Linux (Google Colab)
Additional context Add any other context about the problem here.