Constraint with present and next time state
Posted: Tue Feb 06, 2018 8:50 am
Hi,
I am trying to write these constraints in my model:
Soc_limitu(i) .. Soc_start- Pch(i) + Pdch(i) =L= Soc_max;
Soc_limitl(i) .. Soc_start- Pch(i) + Pdch(i) =G= Soc_min;
where Soc_start is a scalar with a constant value but its value is used at the start only for i=1, after that from 2 to 24, Soc_start(i+1)=Soc_start(i)- Pch(i) + Pdch(i) as for Soc_start(2)=Soc_start(1)- Pch(1) + Pdch(1) for i=2 and so but I am unable to write this formulation. Can anyone help me please!
Thank You so much.
Kind regards,
Mohyuddin
UOW Australia
I am trying to write these constraints in my model:
Soc_limitu(i) .. Soc_start- Pch(i) + Pdch(i) =L= Soc_max;
Soc_limitl(i) .. Soc_start- Pch(i) + Pdch(i) =G= Soc_min;
where Soc_start is a scalar with a constant value but its value is used at the start only for i=1, after that from 2 to 24, Soc_start(i+1)=Soc_start(i)- Pch(i) + Pdch(i) as for Soc_start(2)=Soc_start(1)- Pch(1) + Pdch(1) for i=2 and so but I am unable to write this formulation. Can anyone help me please!
Thank You so much.
Kind regards,
Mohyuddin
UOW Australia