Flopy load recharge package #1482
-
I am having issue while loading an existing modflow model in flopy. if I import recharge package the model does not run and in the "list" file it says " CANNOT OPEN Carrier.ddn ON UNIT 19 BECAUSE UNIT IS ALREADY BEING USED" by the rch package |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can either change the unit number you are using for your drawdown in the OC and name files or you can update the recharge unit number in flopy. Ex 1. change unit number of drawdown In the Name file DATA(BINARY) 72 Carrier.ddn Ex 2, change the recharge package unit number in FloPy ml = flopy.modflow.Modflow.load("my model")
ml.rch.unit_number = [15] |
Beta Was this translation helpful? Give feedback.
You can either change the unit number you are using for your drawdown in the OC and name files or you can update the recharge unit number in flopy.
Ex 1. change unit number of drawdown
In the OC input file
DRAWDOWN SAVE UNIT 72
In the Name file
DATA(BINARY) 72 Carrier.ddn
Ex 2, change the recharge package unit number in FloPy