Describe the bug
In the presence of IndepVarComp and if these are connected to component inputs directly in the configuration file, the connections are ignored when generating the input file. Though, it seems when a run_model is achieved the connections are not ignored.
Describe the bug In the presence of
IndepVarComp
and if these are connected to component inputs directly in the configuration file, the connections are ignored when generating the input file. Though, it seems when arun_model
is achieved the connections are not ignored.To Reproduce I added a unit test here: https://github.com/fast-aircraft-design/FAST-OAD/blob/22e52d93b784fb92e9cefbbaea305111c5625491/src/fastoad/io/configuration/tests/test_configuration.py#L159-L201
The test uses this configuration file:
Expected behavior
x
that is connected tosystem:x
should not appear in the generated input file. In the unit test provided we should obtain:Instead of:
Environment