TimeSeriesAnalysis 1.3.41
dotnet add package TimeSeriesAnalysis --version 1.3.41
NuGet\Install-Package TimeSeriesAnalysis -Version 1.3.41
<PackageReference Include="TimeSeriesAnalysis" Version="1.3.41" />
paket add TimeSeriesAnalysis --version 1.3.41
#r "nuget: TimeSeriesAnalysis, 1.3.41"
// Install TimeSeriesAnalysis as a Cake Addin #addin nuget:?package=TimeSeriesAnalysis&version=1.3.41 // Install TimeSeriesAnalysis as a Cake Tool #tool nuget:?package=TimeSeriesAnalysis&version=1.3.41
TimeSeriesAnalysis : Data-driven dynamic modeling and simulation
Overview
This library that deals with developing time-series models and simulators from time-series data.
The methods in this library are primarily designed to describe time-series of physical, real-world systems for an industrial setting.
Real-world industrial systems
- often exhibit repeatable transient responses to changes in inputs
- usually include feeback loops, either due to recirculation in the process or because the system is controlled with PID-controllers(PID-model is included)
- and often consist of a network of interconnected units that interact.
This library was designed to create dynamic unit models that can be chained into interconnected networks that can include PID-control or other feedback- or circulation loops.
Models are not derived from physical first principles, but are inferred from time-series data using the principles of system identification, the methods to infer models are built on multiple modfied linear regression steps(identification methods are included).
The library is written in C# but can be referenced from any language that can reference .NET language, including Matlab or Python. The target framework is <i>.NET Standard 2.0.</i>
Use cases: Digital twins, anomaly detection, "what-if", PID-tuning, monitoring and screening
The power of this library lies in the ability to automate or semi-automate the steps of identfiying new models or simulating existing models at scale. In effect this libary can create "digital twin" models of sections of a process.
The methods lend themselves readily to for instance automatically building a large number of similar models for similar sections of a process, for instance to monitor every valve, separation tank or PID-control loop in a similar fashion, in a way that lends itself to process monitoring and -screening.
The methods in this library are scalable and modular, i.e. by chaining together unit models, the library can also simulate larger sections of a process plant, so the methodology could in principle be extended to assemble a digital twin of an entire process plant.
Models can be run alongside the plant, and monitoring the difference between measured and modelled values can provide insight into changes in the plant (anomaly detection.) By manually simulating changes on these kinds of models, "what-if" scenarios can be evaluted either manually or automatically. One very interesting such use-case is to evaluate the possible benefits of re-tuning PID-controllers.
The above use-cases could be put under the umbrella term "advanced analytics", i.e. using algorithms and data to make deep insights about causes and effects to make predictions and reccomendations.
Explainable models for low-information datasets
Note that although this library uses regression methods and algorithms to learn parameters to describe data, the methodology is somewhat different from traditional machine learning in that models follow the principles of system identification rather than AI. The number of free parameters are kept low by design, as this makes reduces the likelihood of over-fitting. Over-fitting is particularly important when dealing with industrial data, as this kind of data has to be used "as-is" and one often has less information than one would like. Another benefit of keepting the number of fitted paramters low is that models remain explainable and human-understandable, and it becomes possible to combine fitted models with human pre-knowledge, what is often referred to as "grey-box" modeling.
Documentation:
🔴 <a href="https://equinor.github.io/TimeSeriesAnalysis">TimeSeriesAnalysis documentation</a> 🔴
🔴 <a href="https://equinor.github.io/TimeSeriesAnalysis/api/TimeSeriesAnalysis.html">TimeSeriesAnalysis API documentation</a> 🔴
Roadmap
The aim of this repository is to collect building blocks to developing digital twins from datasets in a manner that can be automated.
This repository development in versions 1.x
, is focused on "getting the basics right"
- defining a set of unit models that together can simulate most industrial processes (especially
PidModel
andUnitModel
), - establishing unit identification methods for each unit model type, and
- efficent simulation of "plants" of unit models
Contributing
This project welcomes contributions and suggestions. Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
Getting started
Regardless if you call this library from C#, Python or Matlab, the resulting code is very similar. A good first step is to read through the getting started examples and try copying in that code and getting it to run to get the hang of things
Calling this library from Python
The library can be conveniently used from Python
- grab the zipped binaries from a release and unzip
- set up Python.Net,
- start calling the API-methods (see help article Getting started:Python.)
Calling this library from MatLab
The library be conveniently used from Matlab
- grab the zipped binaries from a release and unzip
- load the assembly with
NET.addAssembly()
- start calling the API (see article Getting started:Matlab.)
Calling this library from your .NET project
- create a project in Visual Studio, and
- import the "TimeSeriesAnalysis" library from NuGet
- start calling the API
Working with the code of this repository
- check out this repository,
- make sure NuGet is setup correctly, and
- all examples are implemented as unit-tests using NUnit, try running these to
Discussion forum and contact person
The contact person for this repository is Steinar Elgsæter, please post any question you may have related to TimeSeriesAnalysis in the github discussion pages.
License
TimeSeriesAnalysis is distributed under the Apache 2.0 license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Accord (>= 3.8.0)
- Accord.Math (>= 3.8.0)
- Accord.Statistics (>= 3.8.0)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
- Microsoft.NET.Test.Sdk (>= 17.4.1)
- Newtonsoft.Json (>= 13.0.3)
- NUnit.ConsoleRunner (>= 3.17.0)
- System.Configuration.ConfigurationManager (>= 6.0.0)
- System.ValueTuple (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.3.41 | 40 | 11/28/2024 |
1.3.40 | 45 | 11/27/2024 |
1.3.39 | 59 | 11/27/2024 |
1.3.38 | 73 | 11/26/2024 |
1.3.37 | 70 | 11/26/2024 |
1.3.36 | 70 | 11/26/2024 |
1.3.35 | 64 | 11/25/2024 |
1.3.34 | 92 | 11/22/2024 |
1.3.33 | 73 | 11/22/2024 |
1.3.32 | 75 | 11/22/2024 |
1.3.31 | 70 | 11/21/2024 |
1.3.30 | 71 | 11/19/2024 |
1.3.29 | 73 | 11/19/2024 |
1.3.28 | 78 | 11/15/2024 |
1.3.27 | 85 | 11/12/2024 |
1.3.26 | 89 | 11/8/2024 |
1.3.25 | 76 | 11/6/2024 |
1.3.24 | 70 | 11/6/2024 |
1.3.23 | 85 | 11/5/2024 |
1.3.22 | 83 | 10/31/2024 |
1.3.21 | 85 | 10/30/2024 |
1.3.20 | 78 | 10/30/2024 |
1.3.19 | 75 | 10/30/2024 |
1.3.18 | 83 | 10/29/2024 |
1.3.17 | 89 | 10/4/2024 |
1.3.16 | 104 | 10/4/2024 |
1.3.15 | 97 | 10/3/2024 |
1.3.14 | 101 | 10/2/2024 |
1.3.13 | 97 | 9/26/2024 |
1.3.12 | 118 | 6/17/2024 |
1.3.11 | 180 | 6/17/2024 |