I’m not seeing an obvious error in the code below, though I’m not sure if the 
-1e-3 at the end is intentional. That was included in an example that used 
CT_REP as the chgtype (don’t remember the reason), but I doubt it makes sense 
to leave it there with CT_REL.

So, you say the loads are being dispatched at a constant level? One plausible 
explanation is if the ramp rates defined for the gens representing those loads 
are set to zero.

    Ray


> On Aug 21, 2018, at 3:13 PM, sergio valencia ocampo <[email protected]> 
> wrote:
> 
> Hi guys,
>  
> I’m simulating a power system with 124 bars, 150 generators and 193 branches. 
> Additionally, I have 312 dispatchable loads distributed in the system.
>  
> When generating the present case, the load profile of the 24-period time 
> series. The problem UC converges but the load does not follow the profile, 
> all load units act constantly.
>  
> The information for the load profile is the following:
>  
> loadprofile = struct( ...
>     'type', 'mpcData', ...
>     'table', CT_TLOAD, ...
>     'rows', 0, ...
>     'col', CT_LOAD_DIS_PQ, ...
>     'chgtype', CT_REL, ...
>     'values', [] );
> loadprofile.values(:, 1, 1) = [
>     0.65;
>     0.69;
>     0.67;
>     0.67;  
>     0.7;
>     0.8;
>     0.75;
>     0.80;
>     0.85;
>     0.7;
>     0.8;
>     0.95;
>     0.95;
>     1;
>     1;
>     1;
>     1;
>     1;
>     0.9;
>     0.8;
>     0.7;
>     0.7;
>     0.8;
>     0.95;
> ]-1e-3;
>  
> I want to know what the error is when entering the load profile
>  
> Thanks for the help
>  
> Cordialmente,
>  
> Sergio Andrés Valencia Ocampo
> Ingeniero Eléctricista
> [email protected] <mailto:[email protected]>
> Medellín, Colombia

Reply via email to