Skip to main content

The provided script 'dsi-toolkit' leverages a package designed for identifying polynomial models.

Project description

Dynamic Systems Identification (Polynomial Models)

Python Version

Description

Dynamic Systems Identification (Polynomial Models) : The provided script “dsi_tookit” leverages a package designed for identifying polynomial models. This is accomplished through a structured pipeline that includes generating candidate terms, detecting the model structure, estimating parameters, and validating both dynamic and static models. The core functionality focuses on analyzing flow plant systems with inherent noise and errors, specifically modeled as a quadratic polynomial corrupted by white noise. The package supports the following features: • Dynamic Data Analysis: Processing and validating input and output time-series data using identification and validation datasets. • Structure Detection: Removing unsuitable clusters and applying optimization algorithms (such as AIC and ERR) to refine the model structure. • Parameter Estimation: Utilizing methods like Extended Least Squares (ELS) and Restricted Extended Least Squares (RELS) to compute model parameters. • Model Validation: Evaluating performance through residual analysis and correlation coefficients. • Static Model Simulation: Generating static responses and simulating system behavior under various input conditions. Usage Instructions: To use this class/package, follow these steps:

  1. Prepare and Load Data: Load dynamic data (flow_dataset and static_dataset) representing the system's input and output.
  2. Visualize Input/Output: Create visual plots to inspect and compare identification and validation datasets.
  3. Generate Candidate Model Terms: Use dsi_tookit.generateCandidateTerms to build a matrix of potential terms for system characterization.
  4. Detect Model Structure: Use dsi_tookit.removeClusters to filter out invalid clusters and refine the model structure. Run dsi_tookit.detectStructure to apply algorithms like AIC and ERR for precise structural identification.
  5. Estimate Model Parameters: Extract dynamic information using dsi_tookit.getInfo. Apply dsi_tookit.estimateParametersELS or dsi_tookit.estimateParametersRELS to calculate the model parameters.
  6. Validate the Model: Use dsi_tookit.validateModel to verify the dynamic model's accuracy and analyze residual behavior. Simulate the static model using functions like dsi_tookit.buildStaticResponse and dsi_tookit.displayStaticModel to derive and simulate the system's static behavior.
  7. Analyze Results: Evaluate the root mean square error (RMSE), residual correlations, and validate the alignment between real and simulated data. For more information please see the examples files: exampleELS and exampleRELS

Cite As: Barroso, M. F. S, Mendes, E. M. A. M. and Marciano, J. J. S. (2025). Dynamic Systems Identification (Polynomial Models) (https://pypi.org/project/dsi-toolkit/), pypi.org. Retrieved March 16, 2025.

Installation

To install the package, use:

pip install dsi_toolkit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dsi_toolkit-1.0.7.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dsi_toolkit-1.0.7-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file dsi_toolkit-1.0.7.tar.gz.

File metadata

  • Download URL: dsi_toolkit-1.0.7.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for dsi_toolkit-1.0.7.tar.gz
Algorithm Hash digest
SHA256 b0f98a0a75c4e94f9517dc3f6a001b648bc1f6b27aa9cbd506e1a1c02ded6af3
MD5 09c424efa43a250663116d9c596147b3
BLAKE2b-256 c7b874be303646a95c1411d6a708f3e653b1259dd13f246b8cbc17d2f0422f79

See more details on using hashes here.

File details

Details for the file dsi_toolkit-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: dsi_toolkit-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for dsi_toolkit-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c667e2a9cb39f1fd8bdc057cfd30af4c7cce63522401f27e513123774b61dec4
MD5 49989d1293f864482205cee2a1a8e34b
BLAKE2b-256 df1eeccde73c93deaa29f91d239eebb7889edcf34424301598d6fc9cc860b8d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page