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

Can I build one C language model and one FORTRAN language model using BMI and coupled in pymt? #163

Open
lj-cug opened this issue Nov 11, 2021 · 1 comment

Comments

@lj-cug
Copy link

lj-cug commented Nov 11, 2021

Dear Sir or Ms:
Now I have one model coded by C Language and one model coded by FORTRAN language. I want to couple these two model components within pymt. Is this feasible?
Thanks
Best Regards
Li Jian

@mdpiper
Copy link
Member

mdpiper commented Nov 12, 2021

Hi, @lj-cug! Yes, you should be able to couple the two models in pymt. It will take a few steps, though.

Is it correct that you have written a BMI for each model? If so, the next step is to use the babelizer to turn the models into components--Python packages that can be imported through pymt. See the babelizer documentation--there's even an example of applying the babelizer to a model written in C.

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

No branches or pull requests

2 participants