The programme in general takes the following process:
It collects
the power consumption of all the villages every 2 sec.
For every village separately, it gives a graph of its power consumption.
At the xx' axis of this graph, we have the real time (seconds) and at
the yy' axis, we have the power consumption (KW).
After, the programme adds the power consumption of all the villages
and calculates the sum.
It draws the results to a graph, which represents the total power consumption
of the villages (of the distribution network in other words), per 2
sec.
Every 2 sec
the programme collects further data from the power production of the
distributed renewable stations, from the large-scale power station and
from the grid. The sequence of the data collection can be changed according
to our desires. It means that if we want, we can change the sequence
of the data collection to 10 sec or more.The Labview software offers
very high time accuracy. We can change the sequence from only some msec
to sec, mins or hours.
For every 2
sec, (that is the sequence that we have chosen),
the programme calculates the maximum and the minimum power consumption
of the villages of the distribution network.
From this point, the system begins its control process.
After the collection
of the first power consumption and power production data,
the program compares the total power consumption of the distribution
network,
with the power production of all the distributed renewable power stations.
If the power consumption is less than the power production of the distributed
stations, then the demand is covered completely from these stations.
Analytically, the programme abstract from the distributed power production,
the total consumption,
and supplies the demand with this power and further 100 KW, in order
to face stability problems of the grid.
After these calculations, the programme gives the command to a dial
to supply the demand with this amount of power.
If the power
consumption is bigger than the produced power from all the distributed
renewable power stations,
then the programme compares again the power consumption of the distribution
network,
with the sum of the distributed power production and the large-scale
production (only the quantity of this power that we are able to use).
If the energy consumption is less than the power of this sum,
then we cover the energy demand with the power from the distributed
and large-scale stations.
The programme further, at this case, calculates the difference between
the power consumption and the sum of the power production of the stations
(distributed and large-scale),
and adds finally 100KW to the final supplied amount of power, in order
to face stability problems.
Thus, the programme gives the command to a first dial to supply the
demand with all the production of the distributed stations and to a
second dial to cover the difference with the power produced of the
large-scale power station, plus 100KW for stability reasons.
The third case,
when the power consumption of the distribution network is bigger
than the sum of the power production of all the distributed and large-scale
stations,
is also examined from the programme.
So, at this case, the programme gives the command to a dial to use all
the power production of the distributed stations and further to a second
dial to supply the demand with an amount of the grid power equal to
the rest, plus 100KW, for stability reasons.
Note: The final power that is given to the distribution network,
is shown in any case as an integer number, but also as a binary number.
The conversion of the integer to a binary number is being using another
one VI (Virtual Instrument),
which is called subVI.
Information about the definition of a VI, of a subVI or about the main VI
and the subVI that we have
constructed for our programme, you can find at the link "Virtual
Instruments of our programme".
The programme
also calculates the maximum and the minimum consumption of all the
villages (of the distribution network) per hour, as well as the average
of the consumption per hour.That is part of its measurement activity.
The programme runs
without stop.
It stops only when we press the final button, which is in the front panel
of the main VI.
Flow chart
Click the link below
to open the flow diagram file in Power Point format. Flow-diagram.ppt (537kb)
navigate with the left mouse button!