1
0
Fork 0

A little experimental change to electrical power

This commit is contained in:
Jonathan Redpath 2021-10-07 19:38:49 +01:00
parent 6271aa50b4
commit 72611e986d
2 changed files with 42 additions and 6 deletions

View file

@ -2125,6 +2125,33 @@
<gain>1.0</gain>
</pure_gain>
<!-- Mirror sub-buses (todo CB logic) -->
<pure_gain name="/systems/electrical/bus/sub-bus/dc-hot-1-703"> <!-- Sub-bus with no CB protection -->
<input>/systems/electrical/sources/bat-1/volt</input>
<gain>1.0</gain>
</pure_gain>
<pure_gain name="/systems/electrical/bus/sub-bus/dc-hot-2-704"> <!-- Sub-bus with no CB protection -->
<input>/systems/electrical/sources/bat-2/volt</input>
<gain>1.0</gain>
</pure_gain>
<pure_gain name="/systems/electrical/bus/sub-bus/dc-2-202">
<input>/systems/electrical/bus/dc-2</input> <!-- todo CB 1PN2 -->
<gain>1.0</gain>
</pure_gain>
<pure_gain name="/systems/electrical/bus/sub-bus/dc-2-204">
<input>/systems/electrical/bus/dc-2</input> <!-- todo CB 3PN2 -->
<gain>1.0</gain>
</pure_gain>
<pure_gain name="/systems/electrical/bus/sub-bus/dc-2-206-208">
<input>/systems/electrical/bus/dc-2</input> <!-- todo CB 6PN -->
<gain>1.0</gain>
</pure_gain>
</channel>
<channel name="Emergency Electric Logic" execrate="8">

View file

@ -267,7 +267,10 @@
/systems/failures/fctl/elac1 eq 0
<test logic="OR">
/systems/electrical/bus/dc-ess ge 25
/systems/electrical/bus/dc-hot-1 ge 25
<test logic="AND"> <!-- in flight: DC HOT backup -->
/systems/electrical/bus/sub-bus/dc-hot-1-703 ge 25
/gear/gear[1]/wow eq 0
</test>
</test>
</test>
</switch>
@ -286,8 +289,11 @@
/controls/fctl/switches/elac2 eq 1
/systems/failures/fctl/elac2 eq 0
<test logic="OR">
/systems/electrical/bus/dc-2 ge 25
/systems/electrical/bus/dc-hot-2 ge 25
/systems/electrical/bus/sub-bus/dc-2-202 ge 25
<test logic="AND"> <!-- in flight: DC HOT backup -->
/systems/electrical/bus/sub-bus/dc-hot-2-704 ge 25
/gear/gear[1]/wow eq 0
</test>
</test>
</test>
</switch>
@ -307,7 +313,10 @@
/systems/failures/fctl/sec1 eq 0
<test logic="OR">
/systems/electrical/bus/dc-ess ge 25
/systems/electrical/bus/dc-hot-1 ge 25
<test logic="AND"> <!-- in flight: DC HOT backup -->
/systems/electrical/bus/sub-bus/dc-hot-1-703 ge 25
/gear/gear[1]/wow eq 0
</test>
</test>
</test>
</switch>
@ -325,7 +334,7 @@
<test logic="AND" value="1">
/controls/fctl/switches/sec2 eq 1
/systems/failures/fctl/sec2 eq 0
/systems/electrical/bus/dc-2 ge 25
/systems/electrical/bus/sub-bus/dc-2-204 ge 25
</test>
</switch>
@ -342,7 +351,7 @@
<test logic="AND" value="1">
/controls/fctl/switches/sec3 eq 1
/systems/failures/fctl/sec3 eq 0
/systems/electrical/bus/dc-2 ge 25
/systems/electrical/bus/sub-bus/dc-2-204 ge 25
</test>
</switch>