16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 12:39:17 +02:00

fix broken command alignment

This commit is contained in:
milek7
2019-09-08 00:24:13 +02:00
parent 745fe34509
commit 0d32ec1e9e
3 changed files with 11 additions and 10 deletions

View File

@@ -66,15 +66,16 @@ bool TTractionPowerSource::Load(cParser *parser) {
// coś mała ta rezystancja była...
// tak około 0.2, wg
// http://www.ikolej.pl/fileadmin/user_upload/Seminaria_IK/13_05_07_Prezentacja_Kruczek.pdf
InternalRes = 0.2;
InternalRes = 0.2;
}
InternalRes = 0.001;
return true;
};
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 (0) {
FastFuse = true;
FuseCounter += 1;