mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 06:29:18 +02:00
Merge commit '730ba72516d74b9ec7d01b50f69d96fc99925c4d' into sim
This commit is contained in:
@@ -74,7 +74,7 @@ bool TTractionPowerSource::Load(cParser *parser) {
|
||||
bool TTractionPowerSource::Update(double dt)
|
||||
{ // powinno być wykonane raz na krok fizyki
|
||||
// iloczyn napięcia i admitancji daje prąd
|
||||
if (NominalVoltage * TotalPreviousAdmitance > MaxOutputCurrent) {
|
||||
if (TotalCurrent > MaxOutputCurrent) {
|
||||
|
||||
FastFuse = true;
|
||||
FuseCounter += 1;
|
||||
|
||||
Reference in New Issue
Block a user