-
-
-
+
+
+
END2
## Laufketten PV->Batterie, Batterie->Home
##############################################
if ($hasbat) {
- my $node2bat_style = $node2bat ? 'flowg active_orange' : 'flowg inactive';
- my $batin_direction = $node2bat < 0 ? 'M910,480 L730,400' : 'M730,400 L910,480';
+ my $node2bat_style = $node2bat ? "$name active_normal" : "$name inactive";
+ my $batin_direction = $node2bat < 0 ? "M910,480 L730,400" : "M730,400 L910,480";
$node2bat = abs $node2bat;
$ret .= << "END3";
-
-
+
+
END3
}
## Dummy Consumer Laufketten
##############################
if ($flowgconX) {
- my $consumer_style = 'flowg inactive';
- $consumer_style = 'flowg active_red' if($cc_dummy > 1);
+ my $consumer_style = "$name inactive";
+ $consumer_style = "$name active_sig" if($cc_dummy > 1);
my $chain_color = ""; # Farbe der Laufkette Consumer-Dummy
if ($cc_dummy > 0.5) {
@@ -14558,7 +14573,7 @@ END3
#$chain_color = 'style="stroke: #DF0101;"';
}
- $ret .= qq{};
+ $ret .= qq{};
}
## Producer Laufketten - in Reihenfolge: zum Grid - zum Knoten - zur Batterie
@@ -14581,8 +14596,8 @@ END3
for my $lfn (@sorted) {
my $pn = $pdcr->{$lfn}{pn};
my $p = $pdcr->{$lfn}{p};
- my $consumer_style = 'flowg inactive';
- $consumer_style = 'flowg active_orange' if($p > 0);
+ my $consumer_style = "$name inactive";
+ $consumer_style = "$name active_normal" if($p > 0);
my $chain_color = ''; # Farbe der Laufkette des Producers
if ($p) {
@@ -14590,7 +14605,7 @@ END3
$chain_color = 'style="stroke: darkorange;"';
}
- $ret .= qq{};
+ $ret .= qq{};
$left += ($pdist * 2);
$xchain += $step;
}
@@ -14621,8 +14636,8 @@ END3
my $p = $currentPower;
$p = (($currentPower / $power) * 100) if ($power > 0);
- my $consumer_style = 'flowg inactive';
- $consumer_style = 'flowg active_orange' if($p > $defpopercent);
+ my $consumer_style = "$name inactive";
+ $consumer_style = "$name active_normal" if($p > $defpopercent);
my $chain_color = ""; # Farbe der Laufkette des Consumers
if ($p > 0.5) {
@@ -14630,7 +14645,7 @@ END3
#$chain_color = 'style="stroke: #DF0101;"';
}
- $ret .= qq{};
+ $ret .= qq{};
$cons_left += ($cdist * 2);
$cons_left_start += $distance_con;
}
@@ -14639,15 +14654,15 @@ END3
## Textangaben an Grafikelementen
###################################
$cc_dummy = sprintf("%.0f", $cc_dummy); # Verbrauch Dummy-Consumer
- $ret .= qq{$pnodesum} if ($pnodesum > 0);
- $ret .= qq{$soc %} if ($hasbat); # Lage Text Batterieladungszustand
- $ret .= qq{$node2home} if ($node2home);
- $ret .= qq{$node2grid} if ($node2grid);
- $ret .= qq{$cgc} if ($cgc);
- $ret .= qq{$bat2home} if ($bat2home && $hasbat);
- $ret .= qq{$node2bat} if ($node2bat && $hasbat);
- $ret .= qq{$cc}; # Current_Consumption Anlage
- $ret .= qq{$cc_dummy} if ($flowgconX && $flowgconsPower); # Current_Consumption Dummy
+ $ret .= qq{$pnodesum} if ($pnodesum > 0);
+ $ret .= qq{$soc %} if ($hasbat); # Lage Text Batterieladungszustand
+ $ret .= qq{$node2home} if ($node2home);
+ $ret .= qq{$node2grid} if ($node2grid);
+ $ret .= qq{$cgc} if ($cgc);
+ $ret .= qq{$bat2home} if ($bat2home && $hasbat);
+ $ret .= qq{$node2bat} if ($node2bat && $hasbat);
+ $ret .= qq{$cc}; # Current_Consumption Anlage
+ $ret .= qq{$cc_dummy} if ($flowgconX && $flowgconsPower); # Current_Consumption Dummy
## Textangabe Producer - in Reihenfolge: zum Grid - zum Knoten - zur Batterie
###############################################################################
@@ -14668,7 +14683,7 @@ END3
elsif ($lcp == 2) {$left += 20}
elsif ($lcp == 1) {$left += 40}
- $ret .= qq{$currentPower} if($flowgPrdsPower);
+ $ret .= qq{$currentPower} if($flowgPrdsPower);
# Leistungszahl wieder zurück an den Ursprungspunkt
####################################################
@@ -14699,8 +14714,8 @@ END3
$lcp = length $currentPower;
- #$ret .= qq{$currentPower} if ($flowgconsPower); # Lage Consumer Consumption
- #$ret .= qq{$consumerTime} if ($flowgconsTime); # Lage Consumer Restlaufzeit
+ #$ret .= qq{$currentPower} if ($flowgconsPower); # Lage Consumer Consumption
+ #$ret .= qq{$consumerTime} if ($flowgconsTime); # Lage Consumer Restlaufzeit
# Verbrauchszahl abhängig von der Größe entsprechend auf der x-Achse verschieben
##################################################################################
@@ -14710,8 +14725,8 @@ END3
elsif ($lcp == 2) {$cons_left += 7 }
elsif ($lcp == 1) {$cons_left += 25}
- $ret .= qq{$currentPower} if ($flowgconsPower); # Lage Consumer Consumption
- $ret .= qq{$consumerTime} if ($flowgconsTime); # Lage Consumer Restlaufzeit
+ $ret .= qq{$currentPower} if ($flowgconsPower); # Lage Consumer Consumption
+ $ret .= qq{$consumerTime} if ($flowgconsTime); # Lage Consumer Restlaufzeit
# Verbrauchszahl wieder zurück an den Ursprungspunkt
######################################################
@@ -21047,12 +21062,23 @@ to ensure that the system configuration is correct.
| size | Size of the energy flow graphic in pixels if displayed. (graphicSelect) |
| | Value: Integer, default: 400 |
| | |
+ | strokecolina | Color of an inactive line |
+ | | Value: Hex (e.g. #cc3300) or designation (e.g. red, blue), default: gray |
+ | | |
+ | strokecolsig | Color of an active signal line |
+ | | Value: Hex (e.g. #cc3300) or designation (e.g. red, blue), default: red |
+ | | |
+ | strokecolstd | Color of an active standard line |
+ | | Value: Hex (e.g. #cc3300) or designation (e.g. red, blue), default: darkorange |
+ | | |
+ | strokewidth | Width of the lines |
+ | | Value: Integer, default: 25 |
Example:
- attr <name> flowGraphicControl size=300 animate=0 consumerdist=100 showconsumer=1 showconsumerdummy=0 shift=-20
+ attr <name> flowGraphicControl size=300 animate=0 consumerdist=100 showconsumer=1 showconsumerdummy=0 shift=-20 strokewidth=15 strokecolstd=#99cc00
@@ -23440,12 +23466,23 @@ die ordnungsgemäße Anlagenkonfiguration geprüft werden.
| size | Größe der Energieflußgrafik in Pixel sofern angezeigt. (graphicSelect) |
| | Wert: Ganzzahl, default: 400 |
| | |
+ | strokecolina | Farbe einer inaktiven Linie |
+ | | Wert: Hex (z.B. #cc3300) oder Bezeichnung (z.B. red, blue), default: gray |
+ | | |
+ | strokecolsig | Farbe einer aktiven Signallinie |
+ | | Wert: Hex (z.B. #cc3300) oder Bezeichnung (z.B. red, blue), default: red |
+ | | |
+ | strokecolstd | Farbe einer aktiven Standardlinie |
+ | | Wert: Hex (z.B. #cc3300) oder Bezeichnung (z.B. red, blue), default: darkorange |
+ | | |
+ | strokewidth | Breite der Linien |
+ | | Wert: Ganzzahl, default: 25 |
Beispiel:
- attr <name> flowGraphicControl size=300 animate=0 consumerdist=100 showconsumer=1 showconsumerdummy=0 shift=-20
+ attr <name> flowGraphicControl size=300 animate=0 consumerdist=100 showconsumer=1 showconsumerdummy=0 shift=-20 strokewidth=15 strokecolstd=#99cc00