Changed files

Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
This commit is contained in:
2024-12-19 19:26:03 +00:00
parent 5486e610a2
commit 0b5f14234f
5 changed files with 159 additions and 37 deletions

View File

@@ -467,13 +467,14 @@ $MdsLoopApp = {
}
}
}
+GAMSSM = {
// A generic State Space model with constant matrices and float64.
+GAMSSMConstant = {
Class = SSMGAM
StateMatrix = {{1.0 0}{0 1.0}} //Compulsory
InputMatrix = {{0 0 0 0}{0 0 0 0}} //Compulsory
StateMatrix = {{1.0 0}{0 1.0}} //Compulsory. This SSM is constant
InputMatrix = {{0 0 0 0 0 0 0 0 0 0 0 0}{0 0 0 0 0 0 0 0 0 0 0 0}} //Compulsory
OutputMatrix = {{0 0}} //Compulsory
FeedthroughMatrix = {{1 1 1 1}} //Optional
ResetInEachState = 1//Compulsory. 1> reset in each state, 0> reset if the previous state is different from the next state
FeedthroughMatrix = {{0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08}} //Optional
ResetInEachState = 1 //Compulsory. 1> reset in each state, 0> reset if the previous state is different from the next state
SampleFrequency = 0.0001 // Currently optional and not used.
InputSignals = {
MirnovD0 = { //input of the SS
@@ -485,22 +486,78 @@ $MdsLoopApp = {
}
MirnovD1 = {
DataSource = "DDB1"
Type = float64 //Only supported type.
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
MirnovD2 = {
DataSource = "DDB1"
Type = float64 //Only supported type.
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
MirnovD3 = {
DataSource = "DDB1"
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
MirnovD4 = {
DataSource = "DDB1"
Type = float64 //Only supported type.
NumberOfElements = 1
NumberOfDimensions = 1 // or 0
Samples = 1
}
MirnovD5 = {
DataSource = "DDB1"
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
MirnovD6 = {
DataSource = "DDB1"
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
MirnovD7 = {
DataSource = "DDB1"
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
MirnovD8 = {
DataSource = "DDB1"
Type = float64 //Only supported type.
NumberOfElements = 1
NumberOfDimensions = 1 // or 0
Samples = 1
}
MirnovD9 = {
DataSource = "DDB1"
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
MirnovD10 = {
DataSource = "DDB1"
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
MirnovD11 = {
DataSource = "DDB1"
Type = float64
NumberOfElements = 1
NumberOfDimensions = 1
Samples = 1
}
@@ -667,7 +724,7 @@ $MdsLoopApp = {
+Thread1 = {
Class = RealTimeThread
CPUs = 0x1
Functions = {GAMTimer GAMFileReader GAMConvert2Double GAMMagSigs GAMSSM GAMLangSigs GAMElectricProbes GAMFileWriter }
Functions = {GAMTimer GAMFileReader GAMConvert2Double GAMMagSigs GAMSSMConstant GAMLangSigs GAMElectricProbes GAMFileWriter }
}
}
}