diff --git a/PVSystems/Resources/Tests/PVSystems_HTML_log.html b/PVSystems/Resources/Tests/PVSystems_HTML_log.html index 5a59003..9f255d2 100644 --- a/PVSystems/Resources/Tests/PVSystems_HTML_log.html +++ b/PVSystems/Resources/Tests/PVSystems_HTML_log.html @@ -15,23 +15,26 @@
Top of page Class coverage Condition coverage
Top of page @@ -39,9 +42,9 @@
36 of 50 classes are covered by the test suite. 14 classes are not covered.
+
41 of 50 classes are covered by the test suite. 9 classes are not covered.
Of the not covered classes
-
Variable: PWM.sawtooth.count, Tolerance: 0.001
Integrator Setup
Integrator: Dassl
-Time interval -> Start time: 0, Stop time: 0.02
+Time interval -> Start time: 0, Stop time: 0.001
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Application.BuckOpen_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Application.BuckOpen_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.BuckOpen_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.BuckOpen_Structure.mo index 31f36bf..f3b1df1 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.BuckOpen_Structure.mo +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.BuckOpen_Structure.mo @@ -1,7 +1,7 @@ /* Log of translation statistics v1.2 */ -ModelManagement.Check.Translation.TranslationStatistics_v_1_2(21, 159, 4, 49, 106, - 4, 100, 85, 25, 33, 8, 0, 0, 4, 40, 53, 4, 1, {6}, {2}, {5}, {2}, 0, 0, +ModelManagement.Check.Translation.TranslationStatistics_v_1_2(19, 147, 4, 41, 102, + 4, 96, 81, 25, 23, 10, 0, 0, 4, 38, 51, 4, 1, {6}, {2}, {5}, {2}, 0, 0, fill(0,0), fill(0,0), fill(0,0), fill(0,0), 0, {"4_states", "Cav.v", "Csw.v", "Lav.i", "Lsw.i"}, fill("", 0), {"EquSystem_1", "sn.i1", "sn.v1"}, fill("", 0), fill(0.0, 0), 0.000, fill(0, 0), 2) diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.BuckOpen_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.BuckOpen_ref.mat index 47b578d..0f4c1ca 100644 Binary files a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.BuckOpen_ref.mat and b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.BuckOpen_ref.mat differ diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosedSynch_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosedSynch_ReferenceLog.html index bfe3435..0938fc9 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosedSynch_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosedSynch_ReferenceLog.html @@ -11,8 +11,8 @@Variable: pll.integrator.y, Tolerance: 0.001
Integrator Setup
Integrator: Dassl
-Time interval -> Start time: 0, Stop time: 0.5
+Time interval -> Start time: 0, Stop time: 0.3
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Application.Inverter1phClosedSynch_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Application.Inverter1phClosedSynch_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosedSynch_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosedSynch_ref.mat index 4b5d40d..0284f38 100644 Binary files a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosedSynch_ref.mat and b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosedSynch_ref.mat differ diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_ReferenceLog.html new file mode 100644 index 0000000..3112741 --- /dev/null +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_ReferenceLog.html @@ -0,0 +1,18 @@ +MODEL VALIDATION
+Settings for validation
+Model Name: PVSystems.Examples.Application.Inverter1phClosed
+Result couplings
+Variable: L.i, Tolerance: 0.001
+Variable: control.idPI.I.y, Tolerance: 0.001
+Variable: control.iqPI.I.y, Tolerance: 0.001
+Variable: sawTooth.T_start, Tolerance: 0.001
+Variable: sawTooth.count, Tolerance: 0.001
+Integrator Setup
+Integrator: Dassl
+Time interval -> Start time: 0, Stop time: 0.6
+Tolerance: 0.0001
+Advanced Setup Settings
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Application.Inverter1phClosed_ref.mat
+-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_Structure.mo new file mode 100644 index 0000000..c037beb --- /dev/null +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_Structure.mo @@ -0,0 +1,7 @@ +/* Log of translation statistics v1.2 */ + +ModelManagement.Check.Translation.TranslationStatistics_v_1_2(42, 265, 2, 109, 154, + 3, 159, 143, 26, 66, 25, 0, 0, 3, 51, 97, 1, 0, {2, 2, 2, 2, 2}, {2, 0, 0, 0, + 0}, fill(0,0), fill(0,0), 0, 0, fill(0,0), fill(0,0), fill(0,0), fill(0,0), 0, + {"3_states", "L.i", "control.idPI.I.y", "control.iqPI.I.y"}, fill("", 0), + fill("", 0), fill("", 0), fill(0.0, 0), 0.000, fill(0, 0), 2) diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_ref.mat new file mode 100644 index 0000000..096673b Binary files /dev/null and b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phClosed_ref.mat differ diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phOpenSynch_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phOpenSynch_ReferenceLog.html index 00a1d82..f9d6057 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phOpenSynch_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phOpenSynch_ReferenceLog.html @@ -21,5 +21,5 @@Time interval -> Start time: 0, Stop time: 0.5
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Application.Inverter1phOpenSynch_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Application.Inverter1phOpenSynch_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phOpen_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phOpen_ReferenceLog.html index 6ee4708..216c377 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phOpen_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.Inverter1phOpen_ReferenceLog.html @@ -19,5 +19,5 @@Time interval -> Start time: 0, Stop time: 0.5
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Application.Inverter1phOpen_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Application.Inverter1phOpen_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_ReferenceLog.html index 072d9d1..3d54c85 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_ReferenceLog.html @@ -11,18 +11,18 @@Variable: Controller.pLL.integrator.y, Tolerance: 0.001
Variable: Controller.vdcPI.I.y, Tolerance: 0.001
Variable: L.i, Tolerance: 0.001
-Variable: mean.x, Tolerance: 0.001
+Variable: meanACPower.x, Tolerance: 0.001
Variable: Controller.mppt.ik, Tolerance: 0.001
Variable: Controller.mppt.pk, Tolerance: 0.001
Variable: Controller.mppt.u1, Tolerance: 0.001
Variable: Controller.mppt.u2, Tolerance: 0.001
Variable: Controller.mppt.vk, Tolerance: 0.001
Variable: Controller.mppt.vref, Tolerance: 0.001
-Variable: mean.y, Tolerance: 0.001
+Variable: meanACPower.y, Tolerance: 0.001
Integrator Setup
Integrator: Dassl
-Time interval -> Start time: 0, Stop time: 40
+Time interval -> Start time: 0, Stop time: 28
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Application.PVInverter1phSynch_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Application.PVInverter1phSynch_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_Structure.mo index f3f0b34..9a8c7bb 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_Structure.mo +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_Structure.mo @@ -5,6 +5,6 @@ ModelManagement.Check.Translation.TranslationStatistics_v_1_2(73, 451, 6, 196, 2 0}, {5}, {3}, 0, 0, fill(0,0), fill(0,0), {5}, {3}, 0, {"8_states", "Cdc.v", "Controller.currentController.idPI.I.y", "Controller.currentController.iqPI.I.y", "Controller.pLL.firstOrder.y", "Controller.pLL.integrator.y", - "Controller.vdcPI.I.y", "L.i", "mean.x"}, {"EquSystem_1", "PV.Id", "PV.Ir", - "Rdc.v"}, {"EquSystem_1", "Controller.mppt.u1", "PV.Id", "PV.Ir"}, fill("", 0), - fill(0.0, 0), 0.000, fill(0, 0), 4) + "Controller.vdcPI.I.y", "L.i", "meanACPower.x"}, {"EquSystem_1", "PV.Id", + "PV.Ir", "Rdc.v"}, {"EquSystem_1", "Controller.mppt.u1", "PV.Id", "PV.Ir"}, + fill("", 0), fill(0.0, 0), 0.000, fill(0, 0), 4) diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_ref.mat index b3823b8..2475968 100644 Binary files a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_ref.mat and b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1phSynch_ref.mat differ diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_ReferenceLog.html index c8ed045..cfb5195 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_ReferenceLog.html @@ -11,18 +11,18 @@Variable: controller.pLL.firstOrder.y, Tolerance: 0.001
Variable: controller.pLL.integrator.y, Tolerance: 0.001
Variable: controller.vdcPI.I.y, Tolerance: 0.001
-Variable: mean.x, Tolerance: 0.001
+Variable: meanACPower.x, Tolerance: 0.001
Variable: controller.mppt.ik, Tolerance: 0.001
Variable: controller.mppt.pk, Tolerance: 0.001
Variable: controller.mppt.u1, Tolerance: 0.001
Variable: controller.mppt.u2, Tolerance: 0.001
Variable: controller.mppt.vk, Tolerance: 0.001
Variable: controller.mppt.vref, Tolerance: 0.001
-Variable: mean.y, Tolerance: 0.001
+Variable: meanACPower.y, Tolerance: 0.001
Integrator Setup
Integrator: Dassl
-Time interval -> Start time: 0, Stop time: 40
+Time interval -> Start time: 0, Stop time: 3
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Application.PVInverter1ph_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Application.PVInverter1ph_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_Structure.mo index f4f3883..945d3ed 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_Structure.mo +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_Structure.mo @@ -5,6 +5,6 @@ ModelManagement.Check.Translation.TranslationStatistics_v_1_2(71, 439, 6, 191, 2 0}, {5}, {3}, 0, 0, fill(0,0), fill(0,0), {5}, {3}, 0, {"8_states", "Cdc.v", "L.i", "controller.currentController.idPI.I.y", "controller.currentController.iqPI.I.y", "controller.pLL.firstOrder.y", "controller.pLL.integrator.y", - "controller.vdcPI.I.y", "mean.x"}, {"EquSystem_1", "PV.Id", "PV.Ir", "Rdc.v"}, - {"EquSystem_1", "PV.Id", "PV.Ir", "controller.mppt.u1"}, fill("", 0), - fill(0.0, 0), 0.000, fill(0, 0), 4) + "controller.vdcPI.I.y", "meanACPower.x"}, {"EquSystem_1", "PV.Id", "PV.Ir", + "Rdc.v"}, {"EquSystem_1", "PV.Id", "PV.Ir", "controller.mppt.u1"}, fill("", 0), + fill(0.0, 0), 0.000, fill(0, 0), 4) diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_ref.mat index 53ee0c1..9a4db29 100644 Binary files a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_ref.mat and b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.PVInverter1ph_ref.mat differ diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.USBBatteryConverter_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.USBBatteryConverter_ReferenceLog.html index 8482320..4306014 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.USBBatteryConverter_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Application.USBBatteryConverter_ReferenceLog.html @@ -14,5 +14,5 @@Time interval -> Start time: 0, Stop time: 5
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Application.USBBatteryConverter_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Application.USBBatteryConverter_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchValidation_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchVerification_ReferenceLog.html similarity index 82% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchValidation_ReferenceLog.html rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchVerification_ReferenceLog.html index 344b172..b53c423 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchValidation_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchVerification_ReferenceLog.html @@ -2,11 +2,11 @@MODEL VALIDATION
Settings for validation
-Model Name: PVSystems.Examples.Verification.IdealCBSwitchValidation
+Model Name: PVSystems.Examples.Verification.IdealCBSwitchVerification
Integrator Setup
Integrator: Dassl
Time interval -> Start time: 0, Stop time: 1
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Verification.IdealCBSwitchValidation_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Verification.IdealCBSwitchVerification_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchValidation_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchVerification_Structure.mo similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchValidation_Structure.mo rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchVerification_Structure.mo diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchValidation_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchVerification_ref.mat similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchValidation_ref.mat rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.IdealCBSwitchVerification_ref.mat diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerValidation_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerVerification_ReferenceLog.html similarity index 52% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerValidation_ReferenceLog.html rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerVerification_ReferenceLog.html index d5b0355..d2b49de 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerValidation_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerVerification_ReferenceLog.html @@ -2,18 +2,18 @@MODEL VALIDATION
Settings for validation
-Model Name: PVSystems.Examples.Verification.MPPTControllerValidation
+Model Name: PVSystems.Examples.Verification.MPPTControllerVerification
Result couplings
-Variable: controller.ik, Tolerance: 0.001
-Variable: controller.pk, Tolerance: 0.001
-Variable: controller.u1, Tolerance: 0.001
-Variable: controller.u2, Tolerance: 0.001
-Variable: controller.vk, Tolerance: 0.001
-Variable: controller.vref, Tolerance: 0.001
+Variable: mpptController.ik, Tolerance: 0.001
+Variable: mpptController.pk, Tolerance: 0.001
+Variable: mpptController.u1, Tolerance: 0.001
+Variable: mpptController.u2, Tolerance: 0.001
+Variable: mpptController.vk, Tolerance: 0.001
+Variable: mpptController.vref, Tolerance: 0.001
Integrator Setup
Integrator: Dassl
Time interval -> Start time: 0, Stop time: 180
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Verification.MPPTControllerValidation_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Verification.MPPTControllerVerification_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerValidation_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerVerification_Structure.mo similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerValidation_Structure.mo rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerVerification_Structure.mo diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerValidation_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerVerification_ref.mat similarity index 89% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerValidation_ref.mat rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerVerification_ref.mat index 1f059dd..b171766 100644 Binary files a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerValidation_ref.mat and b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.MPPTControllerVerification_ref.mat differ diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLValidation_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLVerification_ReferenceLog.html similarity index 87% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLValidation_ReferenceLog.html rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLVerification_ReferenceLog.html index 48c4213..356b05c 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLValidation_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLVerification_ReferenceLog.html @@ -2,7 +2,7 @@MODEL VALIDATION
Settings for validation
-Model Name: PVSystems.Examples.Verification.PLLValidation
+Model Name: PVSystems.Examples.Verification.PLLVerification
Result couplings
Variable: pLL.firstOrder.y, Tolerance: 0.001
Variable: pLL.integrator.y, Tolerance: 0.001
@@ -11,5 +11,5 @@Time interval -> Start time: 0, Stop time: 0.1
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Verification.PLLValidation_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Verification.PLLVerification_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLValidation_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLVerification_Structure.mo similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLValidation_Structure.mo rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLVerification_Structure.mo diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLValidation_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLVerification_ref.mat similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLValidation_ref.mat rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PLLVerification_ref.mat diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayValidation_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayVerification_ReferenceLog.html similarity index 83% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayValidation_ReferenceLog.html rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayVerification_ReferenceLog.html index db10b00..e4162bd 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayValidation_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayVerification_ReferenceLog.html @@ -2,11 +2,11 @@MODEL VALIDATION
Settings for validation
-Model Name: PVSystems.Examples.Verification.PVArrayValidation
+Model Name: PVSystems.Examples.Verification.PVArrayVerification
Integrator Setup
Integrator: Dassl
Time interval -> Start time: 0, Stop time: 1
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Verification.PVArrayValidation_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Verification.PVArrayVerification_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayValidation_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayVerification_Structure.mo similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayValidation_Structure.mo rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayVerification_Structure.mo diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayValidation_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayVerification_ref.mat similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayValidation_ref.mat rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.PVArrayVerification_ref.mat diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_ReferenceLog.html new file mode 100644 index 0000000..4bd6507 --- /dev/null +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_ReferenceLog.html @@ -0,0 +1,15 @@ +MODEL VALIDATION
+Settings for validation
+Model Name: PVSystems.Examples.Verification.ParkVerification
+Result couplings
+Variable: sawTooth.T_start, Tolerance: 0.001
+Variable: sawTooth.count, Tolerance: 0.001
+Integrator Setup
+Integrator: Dassl
+Time interval -> Start time: 0, Stop time: 0.1
+Tolerance: 0.0001
+Advanced Setup Settings
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Verification.ParkVerification_ref.mat
+-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_Structure.mo new file mode 100644 index 0000000..ec5ce5b --- /dev/null +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_Structure.mo @@ -0,0 +1,6 @@ +/* Log of translation statistics v1.2 */ + +ModelManagement.Check.Translation.TranslationStatistics_v_1_2(6, 22, 0, 5, 17, 0, + 16, 16, 0, 5, 0, 0, 0, 0, 9, 8, 0, 0, {2}, {2}, fill(0,0), fill(0,0), 0, 0, + fill(0,0), fill(0,0), fill(0,0), fill(0,0), 0, fill("", 0), fill("", 0), + fill("", 0), fill("", 0), fill(0.0, 0), 0.000, fill(0, 0), 0) diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_ref.mat new file mode 100644 index 0000000..339025f Binary files /dev/null and b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.ParkVerification_ref.mat differ diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_ReferenceLog.html new file mode 100644 index 0000000..278852b --- /dev/null +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_ReferenceLog.html @@ -0,0 +1,16 @@ +MODEL VALIDATION
+Settings for validation
+Model Name: PVSystems.Examples.Verification.SimpleBatteryVerification
+Result couplings
+Variable: B.it, Tolerance: 0.001
+Variable: slewRateLimiter.y, Tolerance: 0.001
+Variable: hysteresis.y, Tolerance: 0.001
+Integrator Setup
+Integrator: Dassl
+Time interval -> Start time: 0, Stop time: 5400
+Tolerance: 0.0001
+Advanced Setup Settings
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Verification.SimpleBatteryVerification_ref.mat
+-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_Structure.mo new file mode 100644 index 0000000..149e572 --- /dev/null +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_Structure.mo @@ -0,0 +1,7 @@ +/* Log of translation statistics v1.2 */ + +ModelManagement.Check.Translation.TranslationStatistics_v_1_2(10, 42, 0, 14, 28, + 2, 27, 21, 9, 12, 1, 0, 0, 2, 7, 13, 0, 0, fill(0,0), fill(0,0), fill(0,0), + fill(0,0), 0, 1, fill(0,0), fill(0,0), fill(0,0), fill(0,0), 0, {"2_states", + "B.it", "slewRateLimiter.y"}, fill("", 0), fill("", 0), fill("", 0), + fill(0.0, 0), 0.000, fill(0, 0), 0) diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_ref.mat new file mode 100644 index 0000000..fcb7456 Binary files /dev/null and b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SimpleBatteryVerification_ref.mat differ diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMValidation_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMVerification_ReferenceLog.html similarity index 88% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMValidation_ReferenceLog.html rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMVerification_ReferenceLog.html index fd849fc..61645ae 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMValidation_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMVerification_ReferenceLog.html @@ -2,7 +2,7 @@MODEL VALIDATION
Settings for validation
-Model Name: PVSystems.Examples.Verification.SwitchingCPMValidation
+Model Name: PVSystems.Examples.Verification.SwitchingCPMVerification
Result couplings
Variable: integrator.y, Tolerance: 0.001
Variable: switchingCPM.artificialRamp.T_start, Tolerance: 0.001
@@ -13,5 +13,5 @@Time interval -> Start time: 0, Stop time: 0.001
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Verification.SwitchingCPMValidation_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Verification.SwitchingCPMVerification_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMValidation_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMVerification_Structure.mo similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMValidation_Structure.mo rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMVerification_Structure.mo diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMValidation_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMVerification_ref.mat similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMValidation_ref.mat rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingCPMVerification_ref.mat diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SignalPWMValidation_ReferenceLog.html b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingPWMVerification_ReferenceLog.html similarity index 87% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SignalPWMValidation_ReferenceLog.html rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingPWMVerification_ReferenceLog.html index fc87638..172dbf9 100644 --- a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SignalPWMValidation_ReferenceLog.html +++ b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingPWMVerification_ReferenceLog.html @@ -2,7 +2,7 @@MODEL VALIDATION
Settings for validation
-Model Name: PVSystems.Examples.Verification.SignalPWMValidation
+Model Name: PVSystems.Examples.Verification.SwitchingPWMVerification
Result couplings
Variable: signalPWM.sawtooth.T_start, Tolerance: 0.001
Variable: signalPWM.sawtooth.count, Tolerance: 0.001
@@ -11,5 +11,5 @@Time interval -> Start time: 0, Stop time: 1
Tolerance: 0.0001
Advanced Setup Settings
-Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/Resources/PVSystems.Examples.Verification.SignalPWMValidation_ref.mat
+Validation file: Z:/Documents/UNED/Asignaturas/2C/TFM/PVSystems/PVSystems/PVSystems.Examples.Verification.SwitchingPWMVerification_ref.mat
-> Validation file reset!
diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SignalPWMValidation_Structure.mo b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingPWMVerification_Structure.mo similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SignalPWMValidation_Structure.mo rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingPWMVerification_Structure.mo diff --git a/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SignalPWMValidation_ref.mat b/PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingPWMVerification_ref.mat similarity index 100% rename from PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SignalPWMValidation_ref.mat rename to PVSystems/Resources/Tests/RefData/PVSystems.Examples.Verification.SwitchingPWMVerification_ref.mat diff --git a/PVSystems/Resources/Tests/TranslationLog.mo b/PVSystems/Resources/Tests/TranslationLog.mo index 88480e4..149e572 100644 --- a/PVSystems/Resources/Tests/TranslationLog.mo +++ b/PVSystems/Resources/Tests/TranslationLog.mo @@ -1,7 +1,7 @@ /* Log of translation statistics v1.2 */ -ModelManagement.Check.Translation.TranslationStatistics_v_1_2(18, 76, 0, 33, 43, - 1, 43, 40, 3, 17, 14, 0, 0, 1, 15, 27, 0, 0, fill(0,0), fill(0,0), fill(0,0), - fill(0,0), 0, 0, fill(0,0), fill(0,0), fill(0,0), fill(0,0), 0, {"1_states", - "integrator.y"}, fill("", 0), fill("", 0), fill("", 0), fill(0.0, 0), - 0.000, fill(0, 0), 0) +ModelManagement.Check.Translation.TranslationStatistics_v_1_2(10, 42, 0, 14, 28, + 2, 27, 21, 9, 12, 1, 0, 0, 2, 7, 13, 0, 0, fill(0,0), fill(0,0), fill(0,0), + fill(0,0), 0, 1, fill(0,0), fill(0,0), fill(0,0), fill(0,0), 0, {"2_states", + "B.it", "slewRateLimiter.y"}, fill("", 0), fill("", 0), fill("", 0), + fill(0.0, 0), 0.000, fill(0, 0), 0)