Alberto Posted 3 hours ago Posted 3 hours ago Hello all, I am working on a sensitivity analysis for a grid-connected hybrid system (PV + BESS) and I'm running into an issue with the "Batch mode" (parametric simulation). My goal is to run a simulation where I vary the Number of batteries in parallel to find the optimal storage capacity. The Problem is that I can set the N_bat_parallel as a batch variable, but when the simulation runs, it fails with a warning for each new step. The error is: The problem seems to be one of parameter co-dependency. The batch mode correctly changes the number of batteries, but it does not automatically update the associated "Charging max. power" and "Discharging max. power" parameters in the storage definition. This creates an invalid system. For example, the simulation tries to run a case with 20 batteries but still uses the original charging power that I defined for 10 batteries, leading to an impossible C-rate and the current limitation error. Is there a way to solve this within the batch simulation tool? Ideally, I would like to define the PCharge_max parameter as a function of the batch variable (e.g., PCharge_max = N_bat_parallel* P_charge_per_battery; This would be possible if charge and discharge battery parameters were simply available in the batch mode. I am aware that I can manually create multiple "variants" and adjust both the number of batteries and the charging power in each one. However, this is very time-consuming and defeats the purpose of the automated batch mode for a wide sensitivity analysis. Is there a built-in feature or a known workaround to manage these co-dependent parameters in a single batch run? Thank you for any advice you can provide. Best regards, Alberto
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now