I have a MODFLOW model built in ModelMuse. With ModelMuse closed, I changed the pumping rates using a Flopy script, so the .wel file reflects the changes I made with Flopy. When I open the model again with ModelMuse, the changes made to the .wel file are not loaded.
Do you know of a way to tell ModelMuse to load the .wel file even though it has not been modified from ModelMuse?
Thank you for your suggestion, Robin:
This is what I have found out about this topic.
When you save a model in ModelMuse that you are working on, all the files required to run MODFLOW from the command line outside of ModelMuse are created. In my particular case, among others, the .wel file is created.
I can update this .wel file using Flopy. The problem is that if I run MODFLOW from ModelMuse, the MODFLOW's own files are not read, they are only written. ModelMuse saves all its configuration and model data in a single .gpt file.
Therefore, the only way to update the model data using a Python script and run the program from ModelMuse is to update the .gpt file.
In conclusion, you cannot use Flopy to update the data of your MODFLOW model if you run it from ModelMuse because ModelMuse does not read MODFLOW's files, it only writes them.