Skip to content

Commit

Permalink
fix some minor errors
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Moraga <[email protected]>
  • Loading branch information
martinmoraga committed Feb 3, 2023
1 parent ba19ec7 commit 985cb58
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ namespace Ph1 {

// #### General Functions ####
/// Specific component initialization
virtual void specificInitialization() override { };
virtual void specificInitialization() override =0;
///
void initializeResistanceMatrix() override;
///
virtual void stepInPerUnit() override { };
virtual void stepInPerUnit() override =0;
///
void calculateConductanceMatrix();
/// Calculate Ka, Kb and Kvbr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ namespace Ph1 {

// #### General Functions ####
/// Initializes component from power flow data
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ namespace Ph1 {

// #### General Functions ####
/// Initializes component from power flow data
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ namespace Ph1 {

// #### General Functions ####
/// Initializes component from power flow data
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ namespace Ph1 {

// #### General Functions ####
/// Initializes component from power flow data
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ namespace Ph3 {

// #### General Functions ####
/// Specific component initialization
virtual void specificInitialization() { };
virtual void specificInitialization() =0;
///
void initializeResistanceMatrix() override;
///
virtual void stepInPerUnit() override { };
virtual void stepInPerUnit() override =0;
///
void calculateResistanceMatrix();
/// Park Transformation according to Kundur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ namespace Ph3 {

// #### General Functions ####
///
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ namespace Ph3 {

// #### General Functions ####
///
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ namespace Ph3 {

// #### General Functions ####
///
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ namespace Ph3 {

// #### General Functions ####
///
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ namespace Ph1 {
ReducedOrderSynchronGeneratorVBR(const String & name, Logger::Level logLevel);

///
virtual void specificInitialization() override { };
virtual void specificInitialization() override =0;
///
void initializeResistanceMatrix() override;
///
virtual void stepInPerUnit() override { };
virtual void stepInPerUnit() override =0;
///
void calculateResistanceMatrix();
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ namespace Ph1 {

// #### General Functions ####
///
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ namespace Ph1 {

// #### General Functions ####
/// Specific component initialization
void specificInitialization() override;
void specificInitialization() final;
///
void initializeResistanceMatrix() override {};
void initializeResistanceMatrix() final {};
///
void stepInPerUnit() override;
void stepInPerUnit() final;

// ### MNA Section ###
///
void mnaCompApplySystemMatrixStamp(Matrix& systemMatrix);
void mnaCompApplyRightSideVectorStamp(Matrix& rightVector);
void mnaCompPostStep(const Matrix& leftVector);
void mnaCompApplySystemMatrixStamp(Matrix& systemMatrix) override;
void mnaCompApplyRightSideVectorStamp(Matrix& rightVector) override;
void mnaCompPostStep(const Matrix& leftVector) override;

public:
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ namespace Ph1 {

// #### General Functions ####
///
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ namespace Ph1 {

// #### General Functions ####
///
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ namespace Ph1 {

// #### General Functions ####
///
void specificInitialization() override;
void specificInitialization() final;
///
void stepInPerUnit() override;
void stepInPerUnit() final;
};
}
}
Expand Down

0 comments on commit 985cb58

Please sign in to comment.