- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » for loop in openmmodelica
Page Start Prev 1 Next End
for loop in openmmodelica
for loop in openmmodelica
Jan-01-20 14:44:28
hi,
I want to translate this for loop from matab to openmodelica
Code:
Ia=zeros(size(Vc))
for j=1:5
Ia = Ia - (Iph - Ia - Ir .* ( exp((Vc + Ia .* Rs) ./ Vt_Ta) -1))./ (-1 - Ir * (Rs ./ Vt_Ta) .* exp((Vc + Ia .* Rs) ./ Vt_Ta))
end
can any one help me please?
thank you in advance
Edited by: Abderezakabidi - Jan-01-20 16:18:39
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » for loop in openmmodelica
There are 0 guests and 0 other users also viewing this topic