mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 23:19:19 +02:00
fixup debug changes
This commit is contained in:
@@ -1191,7 +1191,6 @@ void TMoverParameters::CollisionDetect(int const End, double const dt)
|
|||||||
|
|
||||||
void
|
void
|
||||||
TMoverParameters::damage_coupler( int const End ) {
|
TMoverParameters::damage_coupler( int const End ) {
|
||||||
return;
|
|
||||||
if( SetFlag( DamageFlag, dtrain_coupling ) )
|
if( SetFlag( DamageFlag, dtrain_coupling ) )
|
||||||
EventFlag = true;
|
EventFlag = true;
|
||||||
|
|
||||||
|
|||||||
@@ -68,14 +68,13 @@ bool TTractionPowerSource::Load(cParser *parser) {
|
|||||||
// http://www.ikolej.pl/fileadmin/user_upload/Seminaria_IK/13_05_07_Prezentacja_Kruczek.pdf
|
// 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;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool TTractionPowerSource::Update(double dt)
|
bool TTractionPowerSource::Update(double dt)
|
||||||
{ // powinno być wykonane raz na krok fizyki
|
{ // powinno być wykonane raz na krok fizyki
|
||||||
// iloczyn napięcia i admitancji daje prąd
|
// iloczyn napięcia i admitancji daje prąd
|
||||||
if (0) {
|
if (NominalVoltage * TotalPreviousAdmitance > MaxOutputCurrent) {
|
||||||
|
|
||||||
FastFuse = true;
|
FastFuse = true;
|
||||||
FuseCounter += 1;
|
FuseCounter += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user