Electrical: fix bugs
This commit is contained in:
parent
385dd505c2
commit
9aa7143d21
2 changed files with 1 additions and 13 deletions
|
@ -34,7 +34,6 @@ var ELEC = {
|
|||
ac2BusFault: props.globals.getNode("/systems/failures/electrical/ac-2-bus"),
|
||||
bat1Fault: props.globals.getNode("/systems/failures/electrical/bat-1"),
|
||||
bat2Fault: props.globals.getNode("/systems/failures/electrical/bat-2"),
|
||||
dcBatBusFault: props.globals.getNode("/systems/failures/electrical/dc-bat-bus"),
|
||||
dcEssBusFault: props.globals.getNode("/systems/failures/electrical/dc-ess-bus"),
|
||||
dc1BusFault: props.globals.getNode("/systems/failures/electrical/dc-1-bus"),
|
||||
dc2BusFault: props.globals.getNode("/systems/failures/electrical/dc-2-bus"),
|
||||
|
@ -192,7 +191,6 @@ var ELEC = {
|
|||
me.Fail.ac2BusFault.setBoolValue(0);
|
||||
me.Fail.bat1Fault.setBoolValue(0);
|
||||
me.Fail.bat2Fault.setBoolValue(0);
|
||||
me.Fail.dcBatBusFault.setBoolValue(0);
|
||||
me.Fail.dcEssBusFault.setBoolValue(0);
|
||||
me.Fail.dc1BusFault.setBoolValue(0);
|
||||
me.Fail.dc2BusFault.setBoolValue(0);
|
||||
|
|
|
@ -1675,13 +1675,6 @@
|
|||
|
||||
<switch name="/systems/electrical/relay/ess-tr-contactor/fault">
|
||||
<default value="0"/>
|
||||
<!--<test logic="AND" value="1">
|
||||
/systems/electrical/relay/ess-tr-contactor/fault eq 1
|
||||
<test logic="OR">
|
||||
/systems/electrical/bus/ac-ess ge 110
|
||||
/systems/electrical/relay/emer-glc/output ge 110
|
||||
</test>
|
||||
</test>-->
|
||||
<test logic="OR" value="1">
|
||||
/systems/electrical/sources/ess-tr/output-volt lt 25
|
||||
/systems/electrical/sources/ess-tr/output-amp eq 0
|
||||
|
@ -1774,7 +1767,7 @@
|
|||
/systems/electrical/relay/dc-bat-tie-dc-1/contact-pos eq 1
|
||||
/systems/electrical/relay/dc-bat-tie-dc-2/contact-pos eq 0
|
||||
/systems/electrical/relay/tr-contactor-1/output ge 25
|
||||
/systems/electrical/relay/ess-tr-contactor/output lt 25
|
||||
<!--/systems/electrical/relay/ess-tr-contactor/output lt 25-->
|
||||
/systems/electrical/bus/dc-1 ge 25
|
||||
</test>
|
||||
</switch>
|
||||
|
@ -1989,9 +1982,6 @@
|
|||
|
||||
<switch name="/systems/electrical/bus/dc-bat">
|
||||
<default value="0"/>
|
||||
<test value="0">
|
||||
/systems/failures/electrical/dc-bat-bus eq 1
|
||||
</test>
|
||||
<test logic="AND" value="/systems/electrical/relay/dc-bat-tie-dc-1/output-tie">
|
||||
/systems/electrical/bus/dc-bat-src eq 1
|
||||
</test>
|
||||
|
|
Loading…
Reference in a new issue