You will need to remove the 3D lookup as you mention. If you want to control power output, you will also need to modify the control loop that is adjusting alternator current to meet the voltage setpoint that was coming out of that lookup before.
If you want to discuss more or want some consulting assistance with this, please go to the "contact author" link to email me directly.
Unsure if this is the right place to try and contact you, but I really enjoy the model and think it's a fantastic approach to solving the problem of no alternator/battery plant model.
I hate to ask a question, however, I'm trying to figure out how to modify it a bit so that I can give it a setpoint to try and regulate to based on a given vehicle load and engine speed speed; I'm looking to see the generator duty cycle modulate based on trying to maintain a power output given a battery voltage of my choosing.
Hopefully that makes sense!
This is instead of the 3d lookup based voltage setpoint that's based on temperature/current/engine rpm... do you have any suggestions as an easy way to do that?