Installation

Follow these steps to install and set up the PowerDynamicEstimator package.

Prerequisites

Before proceeding, ensure you have the following installed:

  • Python 3.10 or later

Installation Steps

  1. Clone the repository:

    git clone https://gitlab.nccr-automation.ch/mkatanic/powerdynamicestimator
    cd PowerDynamicEstimator
    
  2. Install dependencies:

    pip install -r requirements.txt
    

You are now ready to use the PowerDynamicEstimator package.

Verifying Installation

To verify the installation:

  1. Run the main script to ensure everything is working:

    cd pydynamicestimator
    python -m main
    
  2. If default figures of the estimation of dynamic and algebraic states are plotted, the installation was successful.

Example PDF Page 1

Figure 1: Ground-truth and estimated voltage magnitudes.

Example PDF Page 2

Figure 2: Ground-truth and estimated internal differential states.

Troubleshooting

  • If you encounter issues during installation, verify that all prerequisites are installed.

  • If dependency conflicts occur, try updating your package manager or using a clean Python environment.

  • Ensure that you are in the correct directory when running the script.