i'm make a model of photovoltaic with constant power load but when i try to simulate it, it shows that one of the blocks in my simulation which is the divide block is in error.. the message states that "Algebraic state in algebraic loop containing 'RL/Divide' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution" .i try to reduce the step size and change the solver but it still the same..
I think use limiter or saturation at dividing part and make lover limit as less value, like 0.0001, and upper limit as inf. then may be your problem will solve. other wise, I uploaded a PV model, you can download this.
It sounds like you are dividing by zero at the first time step, so make sure the initial condition of the signal that is being divided is set to a finite value. [I am sure someone more experienced than me can give you more insight.] There is information on workarounds for 'divide by zero' errors here and on detecting them here.
Play games and win prizes!Learn more