Thread Subject: Problem in Simulink

Subject: Problem in Simulink

From: David Hernandez

Date: 22 Mar, 2008 13:01:48

Message: 1 of 3

Hello,
I've got a problem with this circuit:
http://img145.imageshack.us/my.php?image=model6eq0.jpg
The error that appears is:
Parameter is outside the range of the fixed point data type;
it has been saturated to its maximum limit in
'model6/Subsystem/Gain'
I need some suggestions about it.
Thank you very much.
Regards.
David Hernandez

Subject: Problem in Simulink

From: D. Ismay

Date: 22 Mar, 2008 16:12:51

Message: 2 of 3

David Hernandez wrote:
> Hello,
> I've got a problem with this circuit:
> http://img145.imageshack.us/my.php?image=model6eq0.jpg
> The error that appears is:
> Parameter is outside the range of the fixed point data type;
> it has been saturated to its maximum limit in
> 'model6/Subsystem/Gain'

<snip>

look at the data feed to that block. think about what you're asking the
block to do.

hth, hand

Subject: Problem in Simulink

From: David Hernandez

Date: 22 Mar, 2008 18:28:02

Message: 3 of 3

My circuit is modelling a photovoltaic panel.
I'm using these initial values in Subsystem:

Voc=Vocmod/Nsc
Vmp=Vmpmod/Nsc
ff=(Vmpmod*Imp)/(Vocmod*Isc);
Vt=26e-3; %thermal voltage
voc1=Vocmod/Vt;
ff0=(voc1+log(voc1+0.72))/(voc1+1);
Rs=(1-(ff/ff0))*(Vocmod/Isc)
%initial values
Gstc=1000;
Vd=Voc;
Vpv=Voc;
Ipv=Isc;
Rp=100e6
K=1.3806503e-23; % Boltzman's const
q=1.602176487e-19;
Tc=25;
T=Tc+273.15;
r=exp((q*Voc)/(K*T))+1
Io=Isc/r

Voc (20.5), Vmp (16.3), Isc (4.6), Imp (4.0) are parameters
introduced by the user.
I can't find the problem.
Thank you.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
saturated David Hernandez 22 Mar, 2008 09:05:06
error David Hernandez 22 Mar, 2008 09:05:05
simulink David Hernandez 22 Mar, 2008 09:05:05
rssFeed for this Thread

Contact us at files@mathworks.com