GregLocock
Automotive
- Apr 10, 2001
- 23,413
Is anybody else doing this?
I use ADAMS Pre, which at v11 gained a rather cumbersome way of integrating an external control system algorithm into the model. On a PC you have to write the control system in fortran, compile it, and then build a custom solver. You also have to modify your model to hook up the inputs and outputs. The tutorial does work, but it is not a graceful process.
We have developed an alternative technique, because our control system is a 'black box' algorithm, supplied as a stand alone exe file by the vendor. We still need a Fortran program to pick up the custom solver outputs and feed them to the exe file, and to return the inputs. My problem with this is that I am used to using the GUI to edit the model, whereas this has all been done by hand modifying the .adm file, and the .acf and .dcf.
Has anyone got a better approach?
Cheers
Greg Locock
I use ADAMS Pre, which at v11 gained a rather cumbersome way of integrating an external control system algorithm into the model. On a PC you have to write the control system in fortran, compile it, and then build a custom solver. You also have to modify your model to hook up the inputs and outputs. The tutorial does work, but it is not a graceful process.
We have developed an alternative technique, because our control system is a 'black box' algorithm, supplied as a stand alone exe file by the vendor. We still need a Fortran program to pick up the custom solver outputs and feed them to the exe file, and to return the inputs. My problem with this is that I am used to using the GUI to edit the model, whereas this has all been done by hand modifying the .adm file, and the .acf and .dcf.
Has anyone got a better approach?
Cheers
Greg Locock