aesim.simba 2025.4.14a1__py3-none-manylinux2014_aarch64.whl → 2025.6.2a1__py3-none-manylinux2014_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14699,10 +14699,10 @@
14699
14699
  }
14700
14700
  },
14701
14701
  {
14702
- "Id": "632048d2-1889-41c0-81f2-671d39e1dd2d",
14702
+ "Id": "0c0158ee-04d7-40e7-aa53-4dc50c193985",
14703
14703
  "Name": "DC-DC Buck Converter",
14704
14704
  "Circuit": {
14705
- "Id": "a9173604-f445-4560-a5c3-15a3a996e11a",
14705
+ "Id": "5947e8a8-2bdb-4d38-97b5-e5a0aba5e9b6",
14706
14706
  "Devices": [
14707
14707
  {
14708
14708
  "LibraryName": "DC Voltage Source",
@@ -14713,7 +14713,7 @@
14713
14713
  "VF": false,
14714
14714
  "Disabled": false,
14715
14715
  "Name": "DC1",
14716
- "ID": "4758d5c2-a790-4764-b540-e76556627996",
14716
+ "ID": "0ad48589-72be-4c85-919c-568d638af705",
14717
14717
  "Parameters": {
14718
14718
  "Voltage": "50",
14719
14719
  "Name": "DC1"
@@ -14752,7 +14752,7 @@
14752
14752
  "VF": false,
14753
14753
  "Disabled": false,
14754
14754
  "Name": "SW1",
14755
- "ID": "7331fae6-b7ee-40e9-8238-0340fd7286a8",
14755
+ "ID": "72f9a93a-055b-40f6-9ead-316802cb030a",
14756
14756
  "Parameters": {
14757
14757
  "Name": "SW1"
14758
14758
  },
@@ -14782,7 +14782,7 @@
14782
14782
  "VF": false,
14783
14783
  "Disabled": false,
14784
14784
  "Name": "C1",
14785
- "ID": "e05e12cd-66f9-4756-9486-d7588f9be0b5",
14785
+ "ID": "39758a5b-2f4b-4ab7-90c0-d24477c9bf5b",
14786
14786
  "Parameters": {
14787
14787
  "Amplitude": "1",
14788
14788
  "Frequency": "5k",
@@ -14870,7 +14870,7 @@
14870
14870
  "VF": false,
14871
14871
  "Disabled": false,
14872
14872
  "Name": "D1",
14873
- "ID": "3401bf0c-da09-4a84-9710-d552866573bc",
14873
+ "ID": "09c6cb18-bcdf-48fb-9948-e068eba18c63",
14874
14874
  "Parameters": {
14875
14875
  "Rd": "0",
14876
14876
  "Vf": "0",
@@ -14919,7 +14919,7 @@
14919
14919
  "VF": false,
14920
14920
  "Disabled": false,
14921
14921
  "Name": "L1",
14922
- "ID": "5f3510f4-baeb-48dc-92dc-1ff535b73ed8",
14922
+ "ID": "04fd552d-1671-4d45-9072-d4acbb882e01",
14923
14923
  "Parameters": {
14924
14924
  "Value": "1m",
14925
14925
  "Iinit": "0",
@@ -14968,7 +14968,7 @@
14968
14968
  "VF": false,
14969
14969
  "Disabled": false,
14970
14970
  "Name": "C2",
14971
- "ID": "84341859-aab0-4410-858d-6e4b84cbb37a",
14971
+ "ID": "40703a6d-29dc-443d-bb6b-c9c6a76a1891",
14972
14972
  "Parameters": {
14973
14973
  "Value": "100u",
14974
14974
  "Vinit": "0",
@@ -15017,7 +15017,7 @@
15017
15017
  "VF": false,
15018
15018
  "Disabled": false,
15019
15019
  "Name": "R1",
15020
- "ID": "974fec45-6163-4cfb-8b45-1616eeececa8",
15020
+ "ID": "a5d66714-a009-44a2-a0f1-a0078081399d",
15021
15021
  "Parameters": {
15022
15022
  "Value": "5",
15023
15023
  "Name": "R1"
@@ -15056,7 +15056,7 @@
15056
15056
  "VF": false,
15057
15057
  "Disabled": false,
15058
15058
  "Name": "Ground1",
15059
- "ID": "38f9fa96-e803-448a-8247-4077dffbf88a",
15059
+ "ID": "32869ab3-e841-40cc-8665-72927be9ef1d",
15060
15060
  "Parameters": {
15061
15061
  "Name": "Ground1"
15062
15062
  },
@@ -19477,10 +19477,10 @@
19477
19477
  }
19478
19478
  },
19479
19479
  {
19480
- "Id": "28f33797-ea03-436e-94bc-6c4e5d797e79",
19480
+ "Id": "f5b3bc2a-7aee-4e10-a917-3d2d684ff3cf",
19481
19481
  "Name": "DC-DC Cuk Converter",
19482
19482
  "Circuit": {
19483
- "Id": "f39c7af4-0478-450e-8abc-26eb18e709cc",
19483
+ "Id": "842286b0-5ef7-4f6a-ab97-5b8a21317f78",
19484
19484
  "Devices": [
19485
19485
  {
19486
19486
  "LibraryName": "DC Voltage Source",
@@ -19491,7 +19491,7 @@
19491
19491
  "VF": false,
19492
19492
  "Disabled": false,
19493
19493
  "Name": "DC1",
19494
- "ID": "f54a0bac-d03f-47c3-84bb-78d1f5ae90ce",
19494
+ "ID": "1cab166d-bc31-4d4d-b50e-c83177a22f0b",
19495
19495
  "Parameters": {
19496
19496
  "Voltage": "10",
19497
19497
  "Name": "DC1"
@@ -19527,7 +19527,7 @@
19527
19527
  "VF": false,
19528
19528
  "Disabled": false,
19529
19529
  "Name": "Ground1",
19530
- "ID": "ff8100eb-8b1a-4e4d-b429-59374226be2d",
19530
+ "ID": "47e5737a-3573-45ec-a272-b203f3e50d83",
19531
19531
  "Parameters": {
19532
19532
  "Name": "Ground1"
19533
19533
  },
@@ -19553,7 +19553,7 @@
19553
19553
  "VF": false,
19554
19554
  "Disabled": false,
19555
19555
  "Name": "L1",
19556
- "ID": "57cbd1f1-3136-498e-bfe7-da7a82768536",
19556
+ "ID": "6e056195-877b-42eb-9db1-4753df70b186",
19557
19557
  "Parameters": {
19558
19558
  "Value": "0.2m",
19559
19559
  "Iinit": "0",
@@ -19599,7 +19599,7 @@
19599
19599
  "VF": true,
19600
19600
  "Disabled": false,
19601
19601
  "Name": "SW1",
19602
- "ID": "95a4e964-1317-444a-8fa0-399959ab3d73",
19602
+ "ID": "f2e1c02e-c5ea-4be0-b77f-bd599f6f5979",
19603
19603
  "Parameters": {
19604
19604
  "Name": "SW1"
19605
19605
  },
@@ -19625,7 +19625,7 @@
19625
19625
  "VF": false,
19626
19626
  "Disabled": false,
19627
19627
  "Name": "CSW1",
19628
- "ID": "75b18d16-2dfd-4a0a-8ec8-94362a3df245",
19628
+ "ID": "84dab838-22a4-45e5-a04f-1976cfb73c50",
19629
19629
  "Parameters": {
19630
19630
  "Amplitude": "1",
19631
19631
  "Frequency": "5k",
@@ -19711,7 +19711,7 @@
19711
19711
  "VF": false,
19712
19712
  "Disabled": false,
19713
19713
  "Name": "C1",
19714
- "ID": "b153247f-b3b1-473d-9f52-ca4d67b4483d",
19714
+ "ID": "b3c4c4a2-ad70-4703-82df-ae2ba440d215",
19715
19715
  "Parameters": {
19716
19716
  "Value": "100u",
19717
19717
  "Vinit": "0",
@@ -19757,7 +19757,7 @@
19757
19757
  "VF": false,
19758
19758
  "Disabled": false,
19759
19759
  "Name": "D1",
19760
- "ID": "3aa47d06-2905-4d6b-8da5-29483d8e0645",
19760
+ "ID": "840fe78a-a3af-4ce5-9218-c9beaa3515b5",
19761
19761
  "Parameters": {
19762
19762
  "Rd": "0",
19763
19763
  "Vf": "0",
@@ -19803,7 +19803,7 @@
19803
19803
  "VF": false,
19804
19804
  "Disabled": false,
19805
19805
  "Name": "L2",
19806
- "ID": "29b2c269-c221-4122-b229-c718c95dcfa6",
19806
+ "ID": "46c1492a-3180-48b4-8fac-68b3396fa383",
19807
19807
  "Parameters": {
19808
19808
  "Value": "0.1m",
19809
19809
  "Iinit": "0",
@@ -19849,7 +19849,7 @@
19849
19849
  "VF": false,
19850
19850
  "Disabled": false,
19851
19851
  "Name": "C2",
19852
- "ID": "1c398251-baee-4300-8b68-8fa0b1e07e7a",
19852
+ "ID": "695b89e8-34ff-4647-8e81-39bb1d601685",
19853
19853
  "Parameters": {
19854
19854
  "Value": "1m",
19855
19855
  "Vinit": "0",
@@ -19895,7 +19895,7 @@
19895
19895
  "VF": false,
19896
19896
  "Disabled": false,
19897
19897
  "Name": "R1",
19898
- "ID": "ea352ab5-63c6-497b-82e3-187400e45ed0",
19898
+ "ID": "320aaa0a-2cf6-41e6-aadd-8e9598b8e50f",
19899
19899
  "Parameters": {
19900
19900
  "Value": "1",
19901
19901
  "Name": "R1"
@@ -47229,10 +47229,10 @@
47229
47229
  }
47230
47230
  },
47231
47231
  {
47232
- "Id": "c11d2440-1dd9-4a7e-98ce-1fbbcb632c91",
47232
+ "Id": "bde8d3be-6513-4285-84c7-c4af38b87b7e",
47233
47233
  "Name": "PMSM Drive - Full Bridge",
47234
47234
  "Circuit": {
47235
- "Id": "9403c3c8-c87c-4113-bc62-19fd77784e52",
47235
+ "Id": "19b1f9ae-6702-428d-9726-8e55d64b7471",
47236
47236
  "Devices": [
47237
47237
  {
47238
47238
  "LibraryName": "DC Voltage Source",
@@ -47243,7 +47243,7 @@
47243
47243
  "VF": false,
47244
47244
  "Disabled": false,
47245
47245
  "Name": "DC",
47246
- "ID": "98c119ea-acc2-43aa-a822-ae77ca43e0c3",
47246
+ "ID": "f322c360-80e1-4ecc-8a85-a861f73aa855",
47247
47247
  "Parameters": {
47248
47248
  "Voltage": "500",
47249
47249
  "Name": "DC"
@@ -47279,7 +47279,7 @@
47279
47279
  "VF": false,
47280
47280
  "Disabled": false,
47281
47281
  "Name": "Ground1",
47282
- "ID": "3e522064-b7b6-4c79-a1b1-bceed7687d43",
47282
+ "ID": "95f31662-e76a-482c-8ced-8508cd4e9496",
47283
47283
  "Parameters": {
47284
47284
  "Name": "Ground1"
47285
47285
  },
@@ -47305,7 +47305,7 @@
47305
47305
  "VF": false,
47306
47306
  "Disabled": false,
47307
47307
  "Name": "SW_A\u2B61",
47308
- "ID": "a6b5cbd9-6816-4420-885a-0a794c683090",
47308
+ "ID": "e6871d87-8d39-4baf-8411-d9a988003125",
47309
47309
  "Parameters": {
47310
47310
  "Name": "SW_A\u2B61"
47311
47311
  },
@@ -47331,7 +47331,7 @@
47331
47331
  "VF": false,
47332
47332
  "Disabled": false,
47333
47333
  "Name": "SW_A\u2B63",
47334
- "ID": "1d92196e-97b4-43c4-9ea0-a932e05fd2c6",
47334
+ "ID": "28aa2f0e-e588-4f16-b8d9-f2fd9b335875",
47335
47335
  "Parameters": {
47336
47336
  "Name": "SW_A\u2B63"
47337
47337
  },
@@ -47357,7 +47357,7 @@
47357
47357
  "VF": false,
47358
47358
  "Disabled": false,
47359
47359
  "Name": "SW_B\u2B61",
47360
- "ID": "ec7550d9-ea14-4460-9a07-9eb21979425e",
47360
+ "ID": "06f47843-6ec8-4e59-89d0-0698e833916b",
47361
47361
  "Parameters": {
47362
47362
  "Name": "SW_B\u2B61"
47363
47363
  },
@@ -47383,7 +47383,7 @@
47383
47383
  "VF": false,
47384
47384
  "Disabled": false,
47385
47385
  "Name": "SW_B\u2B63",
47386
- "ID": "fd9220d6-7e74-4fbf-a4cd-1c48c40c229c",
47386
+ "ID": "eb860aa6-b973-4dcb-9dec-4cede0564b2f",
47387
47387
  "Parameters": {
47388
47388
  "Name": "SW_B\u2B63"
47389
47389
  },
@@ -47409,7 +47409,7 @@
47409
47409
  "VF": false,
47410
47410
  "Disabled": false,
47411
47411
  "Name": "SW_C\u2B61",
47412
- "ID": "6cb681ca-6f9f-40eb-98d9-56d2a92abc2b",
47412
+ "ID": "441022f8-ddc6-407e-98aa-80ed5485a7a0",
47413
47413
  "Parameters": {
47414
47414
  "Name": "SW_C\u2B61"
47415
47415
  },
@@ -47435,7 +47435,7 @@
47435
47435
  "VF": false,
47436
47436
  "Disabled": false,
47437
47437
  "Name": "SW_C\u2B63",
47438
- "ID": "95555cca-1adb-4c1a-8d75-7c8f0360d4fd",
47438
+ "ID": "ad636300-9dcb-4808-831c-477a3d81894d",
47439
47439
  "Parameters": {
47440
47440
  "Name": "SW_C\u2B63"
47441
47441
  },
@@ -47461,7 +47461,7 @@
47461
47461
  "VF": false,
47462
47462
  "Disabled": false,
47463
47463
  "Name": "ISA",
47464
- "ID": "be789052-a8d6-4c7c-8a1c-5b768e24b803",
47464
+ "ID": "5efda980-36a3-4caa-a7ce-f9e650bfdc4a",
47465
47465
  "Parameters": {
47466
47466
  "SamplingTime": "none",
47467
47467
  "Name": "ISA"
@@ -47499,7 +47499,7 @@
47499
47499
  "VF": false,
47500
47500
  "Disabled": false,
47501
47501
  "Name": "ISB",
47502
- "ID": "34eadd7d-3f59-4e18-9b5b-a465a1accd0b",
47502
+ "ID": "591e9dae-7b10-49e3-93fb-620c93b1cdfa",
47503
47503
  "Parameters": {
47504
47504
  "SamplingTime": "none",
47505
47505
  "Name": "ISB"
@@ -47537,7 +47537,7 @@
47537
47537
  "VF": false,
47538
47538
  "Disabled": false,
47539
47539
  "Name": "ISC",
47540
- "ID": "33f63ad9-6615-4c30-a7c6-76daa1d515e3",
47540
+ "ID": "9f86b067-fd86-451e-8fd5-872d162396e2",
47541
47541
  "Parameters": {
47542
47542
  "SamplingTime": "none",
47543
47543
  "Name": "ISC"
@@ -47575,7 +47575,7 @@
47575
47575
  "VF": false,
47576
47576
  "Disabled": false,
47577
47577
  "Name": "PMSM",
47578
- "ID": "db6ff4f3-6c79-4cea-9b3e-dcb387891dec",
47578
+ "ID": "0b19c589-2e70-47a9-b456-04a98fa24357",
47579
47579
  "Parameters": {
47580
47580
  "Rs": "4",
47581
47581
  "Ld": "[0.0 0.03]",
@@ -47701,7 +47701,7 @@
47701
47701
  "VF": false,
47702
47702
  "Disabled": false,
47703
47703
  "Name": "Load",
47704
- "ID": "1bb488c2-72d3-43e9-868e-2d906e02b241",
47704
+ "ID": "4d216fb1-5c2f-4de8-8bc1-715de37d8ce5",
47705
47705
  "Parameters": {
47706
47706
  "T0": "0",
47707
47707
  "T1": "0.05",
@@ -47767,7 +47767,7 @@
47767
47767
  "VF": false,
47768
47768
  "Disabled": false,
47769
47769
  "Name": "Speed Rad/sec",
47770
- "ID": "28951067-a0ad-421e-be8f-21145984c25f",
47770
+ "ID": "bee0a8c3-670b-493d-a1ff-08ac38c7521c",
47771
47771
  "Parameters": {
47772
47772
  "Gain": "1",
47773
47773
  "Name": "Speed Rad/sec"
@@ -47803,7 +47803,7 @@
47803
47803
  "VF": false,
47804
47804
  "Disabled": false,
47805
47805
  "Name": "Speed RPM",
47806
- "ID": "a0b8578e-d719-45af-849a-c06c893a9c7e",
47806
+ "ID": "dd77683f-54ac-4067-972e-c7a66311c0ef",
47807
47807
  "Parameters": {
47808
47808
  "Value": "9.5493",
47809
47809
  "SamplingTime": "none",
@@ -47851,7 +47851,7 @@
47851
47851
  "VF": true,
47852
47852
  "Disabled": false,
47853
47853
  "Name": "NOT1",
47854
- "ID": "4c6c5d9d-3b4f-4bd0-8b34-67d6efe4419f",
47854
+ "ID": "abce0fb1-24c2-4e9f-ba9d-88f7a8955d12",
47855
47855
  "Parameters": {
47856
47856
  "SamplingTime": "none",
47857
47857
  "Name": "NOT1"
@@ -47887,7 +47887,7 @@
47887
47887
  "VF": true,
47888
47888
  "Disabled": false,
47889
47889
  "Name": "NOT2",
47890
- "ID": "d4245b2e-a01c-4529-89ef-6fb41b512765",
47890
+ "ID": "a5306c38-7b77-423d-bc84-f766b2b4ee9f",
47891
47891
  "Parameters": {
47892
47892
  "SamplingTime": "none",
47893
47893
  "Name": "NOT2"
@@ -47923,7 +47923,7 @@
47923
47923
  "VF": true,
47924
47924
  "Disabled": false,
47925
47925
  "Name": "NOT3",
47926
- "ID": "463da941-f653-4d25-a5a5-df43a68345cc",
47926
+ "ID": "aae14841-4063-4e75-bb62-fc26e985a9ad",
47927
47927
  "Parameters": {
47928
47928
  "SamplingTime": "none",
47929
47929
  "Name": "NOT3"
@@ -47959,7 +47959,7 @@
47959
47959
  "VF": false,
47960
47960
  "Disabled": false,
47961
47961
  "Name": "COMP1",
47962
- "ID": "82db5847-abd5-4d65-94f1-24e37c9ff11f",
47962
+ "ID": "97da5b1c-9142-403c-95f9-25360e61ba65",
47963
47963
  "Parameters": {
47964
47964
  "SamplingTime": "none",
47965
47965
  "Name": "COMP1"
@@ -47995,7 +47995,7 @@
47995
47995
  "VF": false,
47996
47996
  "Disabled": false,
47997
47997
  "Name": "COMP2",
47998
- "ID": "b75460e0-6a39-4171-bc0e-4e9b2e6d5d0c",
47998
+ "ID": "11de0d03-5971-46a8-8c16-42b3a25ac429",
47999
47999
  "Parameters": {
48000
48000
  "SamplingTime": "none",
48001
48001
  "Name": "COMP2"
@@ -48031,7 +48031,7 @@
48031
48031
  "VF": false,
48032
48032
  "Disabled": false,
48033
48033
  "Name": "COMP3",
48034
- "ID": "255e2b71-3dd5-41ed-8538-158d8c8b8e88",
48034
+ "ID": "ebeff620-7b9b-453f-97f4-fa8b75bcda5b",
48035
48035
  "Parameters": {
48036
48036
  "SamplingTime": "none",
48037
48037
  "Name": "COMP3"
@@ -48067,7 +48067,7 @@
48067
48067
  "VF": false,
48068
48068
  "Disabled": false,
48069
48069
  "Name": "TRI1",
48070
- "ID": "46e1ff71-3012-41ea-884d-42a50974ee5b",
48070
+ "ID": "3a2ee042-af15-4528-adef-e6e0c11d3db7",
48071
48071
  "Parameters": {
48072
48072
  "Amplitude": "50",
48073
48073
  "Frequency": "1 / 0.0004",
@@ -48153,7 +48153,7 @@
48153
48153
  "VF": false,
48154
48154
  "Disabled": false,
48155
48155
  "Name": "T1",
48156
- "ID": "b691b0a8-c507-4040-bd66-c2e97f780ef5",
48156
+ "ID": "73808ade-e921-4ea1-b3d9-c64a42e8f95b",
48157
48157
  "Parameters": {
48158
48158
  "SamplingTime": "none",
48159
48159
  "Name": "T1"
@@ -48189,7 +48189,7 @@
48189
48189
  "VF": false,
48190
48190
  "Disabled": false,
48191
48191
  "Name": "Vd",
48192
- "ID": "9a1e66fb-5ba5-4f6a-8f95-28a57b516134",
48192
+ "ID": "dd3051de-5c89-4d32-89e1-4d883ce1249f",
48193
48193
  "Parameters": {
48194
48194
  "Value": "0",
48195
48195
  "SamplingTime": "none",
@@ -48235,7 +48235,7 @@
48235
48235
  "VF": false,
48236
48236
  "Disabled": false,
48237
48237
  "Name": "V0",
48238
- "ID": "367556da-917d-433d-91ad-b3cb23734ec1",
48238
+ "ID": "cdea4354-3e68-4e13-aba4-bfd3af480533",
48239
48239
  "Parameters": {
48240
48240
  "Value": "0",
48241
48241
  "SamplingTime": "none",
@@ -48281,7 +48281,7 @@
48281
48281
  "VF": false,
48282
48282
  "Disabled": false,
48283
48283
  "Name": "PID1",
48284
- "ID": "2606ce71-b6f6-49f9-9cc0-b914bade3ab0",
48284
+ "ID": "fce7cff0-c7a7-4cf1-a861-783c533830be",
48285
48285
  "Parameters": {
48286
48286
  "Kp": "0.01",
48287
48287
  "Kd": "0",
@@ -48347,7 +48347,7 @@
48347
48347
  "VF": false,
48348
48348
  "Disabled": false,
48349
48349
  "Name": "Error",
48350
- "ID": "b9cece40-a6ad-4b3d-8e66-0613fabefe23",
48350
+ "ID": "efe4ba86-20b4-48e0-a0e9-c40c47395357",
48351
48351
  "Parameters": {
48352
48352
  "NumberOfInputs": "2",
48353
48353
  "Gains": "[1 1]",
@@ -48403,7 +48403,7 @@
48403
48403
  "VF": false,
48404
48404
  "Disabled": false,
48405
48405
  "Name": "Ref RPM",
48406
- "ID": "7ad74fa6-98ea-4436-a13e-567f9db78c27",
48406
+ "ID": "b1007ed2-5238-4332-a8a7-100d50012696",
48407
48407
  "Parameters": {
48408
48408
  "Value": "200",
48409
48409
  "SamplingTime": "none",
@@ -48449,7 +48449,7 @@
48449
48449
  "VF": false,
48450
48450
  "Disabled": false,
48451
48451
  "Name": "TF1",
48452
- "ID": "cfc36c99-9553-4e92-89a8-ce6d354148a6",
48452
+ "ID": "391ef5a1-db63-4b1d-bce2-2c40425651f4",
48453
48453
  "Parameters": {
48454
48454
  "K": "-1",
48455
48455
  "Tau": "0.05",
@@ -41,6 +41,7 @@ void initialize() {
41
41
  * Notes:
42
42
  * - A crash may occur if input/outputs arrays are accessed out of bounds.
43
43
  * - In the case of zero-crossing interpolation (switching), a time-step is added at the zero-crossing time (even using the fixed-time step solver).
44
+ * - When using the predictive time-step solver, if the library is not sampled, you can call "discontinuity_event(void)" to warn the solver about a discontinuity event.
44
45
  */
45
46
  void calculate_outputs(double* outputs, double* inputs, double time, double time_step) {
46
47
  }
@@ -55,6 +56,19 @@ void calculate_outputs(double* outputs, double* inputs, double time, double time
55
56
  void terminate() {
56
57
  }
57
58
 
59
+
60
+ /*
61
+ * Function: next_discontinuity_event
62
+ * ------------------------
63
+ * Called at every solver step (predictive solver only, non‑sampled libraries).
64
+ * Must return the time of the next output discontinuity so the solver can tighten its step just before it.
65
+ * If no discontinuity is planned, return SIMBA_EVENT_TIME_UNDEFINED.
66
+ */
67
+ double next_discontinuity_event(double time, double time_step)
68
+ {
69
+ return SIMBA_EVENT_TIME_UNDEFINED;
70
+ }
71
+
58
72
  /*
59
73
  * Function: snapshot (DO NOT MODIFY)
60
74
  * ----------------------------
@@ -31,7 +31,28 @@ typedef enum {
31
31
  SNAPSHOT_DELETE = 4,
32
32
  } snapshot_mode;
33
33
 
34
+
35
+ #ifndef SIMBA_EVENT_TIME_UNDEFINED
36
+ #define SIMBA_EVENT_TIME_UNDEFINED -1
37
+ #endif
38
+
39
+ static int _discontinuity_flag = 0;
40
+
34
41
  SIMBA_EXPORT void initialize();
35
42
  SIMBA_EXPORT void calculate_outputs(double* outputs, double* inputs, double time, double time_step);
36
43
  SIMBA_EXPORT void terminate();
37
- SIMBA_EXPORT void* snapshot(snapshot_mode mode, void* snapshot);
44
+ SIMBA_EXPORT void* snapshot(snapshot_mode mode, void* snapshot);
45
+ SIMBA_EXPORT double next_discontinuity_event(double time, double time_step);
46
+ SIMBA_EXPORT void discontinuity_event(void)
47
+ {
48
+ _discontinuity_flag = 1;
49
+ }
50
+ /* *internal* to the DLL, but exported so the solver can poll it.
51
+ Must return 1 if `discontinuity_event()` has been called since
52
+ the last poll, otherwise 0. MUST reset the flag to 0. */
53
+ SIMBA_EXPORT int pop_discontinuity_flag(void)
54
+ {
55
+ const int f = _discontinuity_flag;
56
+ _discontinuity_flag = 0;
57
+ return f;
58
+ }
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v9.0": {
9
- "Simba.Data/25.04.14": {
9
+ "Simba.Data/25.06.02": {
10
10
  "dependencies": {
11
11
  "CommunityToolkit.Mvvm": "8.4.0",
12
12
  "CsvHelper": "33.0.1",
@@ -14,8 +14,8 @@
14
14
  "DeviceId.Linux": "6.9.0",
15
15
  "DeviceId.Mac": "6.9.0",
16
16
  "DeviceId.Windows": "6.9.0",
17
- "Simba.Drawing": "25.4.14",
18
- "Simba.Helper": "25.4.14",
17
+ "Simba.Drawing": "25.6.2",
18
+ "Simba.Helper": "25.6.2",
19
19
  "System.ComponentModel.Annotations": "5.0.0",
20
20
  "System.Net.Http": "4.3.4",
21
21
  "System.Text.Json": "9.0.3",
@@ -520,26 +520,29 @@
520
520
  "System.Runtime": "4.3.0"
521
521
  }
522
522
  },
523
- "Simba.Drawing/25.4.14": {
523
+ "Simba.Drawing/25.6.2": {
524
524
  "runtime": {
525
525
  "Simba.Drawing.dll": {
526
- "assemblyVersion": "25.4.14.0",
527
- "fileVersion": "25.4.14.0"
526
+ "assemblyVersion": "25.6.2.0",
527
+ "fileVersion": "25.6.2.0"
528
528
  }
529
529
  }
530
530
  },
531
- "Simba.Helper/25.4.14": {
531
+ "Simba.Helper/25.6.2": {
532
+ "dependencies": {
533
+ "CommunityToolkit.Mvvm": "8.4.0"
534
+ },
532
535
  "runtime": {
533
536
  "Simba.Helper.dll": {
534
- "assemblyVersion": "25.4.14.0",
535
- "fileVersion": "25.4.14.0"
537
+ "assemblyVersion": "25.6.2.0",
538
+ "fileVersion": "25.6.2.0"
536
539
  }
537
540
  }
538
541
  }
539
542
  }
540
543
  },
541
544
  "libraries": {
542
- "Simba.Data/25.04.14": {
545
+ "Simba.Data/25.06.02": {
543
546
  "type": "project",
544
547
  "serviceable": false,
545
548
  "sha512": ""
@@ -992,12 +995,12 @@
992
995
  "path": "system.threading.tasks/4.3.0",
993
996
  "hashPath": "system.threading.tasks.4.3.0.nupkg.sha512"
994
997
  },
995
- "Simba.Drawing/25.4.14": {
998
+ "Simba.Drawing/25.6.2": {
996
999
  "type": "project",
997
1000
  "serviceable": false,
998
1001
  "sha512": ""
999
1002
  },
1000
- "Simba.Helper/25.4.14": {
1003
+ "Simba.Helper/25.6.2": {
1001
1004
  "type": "project",
1002
1005
  "serviceable": false,
1003
1006
  "sha512": ""
Binary file
Binary file
Binary file
aesim/simba/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
1
  #%% Load modules...
2
- __version__ = "2025.04.14a1"
2
+ __version__ = "2025.06.02a1"
3
3
 
4
4
  import pythonnet, clr_loader, os
5
5
  resources_folder_name = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'Resources')
@@ -36,6 +36,7 @@ from Simba.Data.Repository import ProjectRepository, JsonProjectRepository
36
36
  from Simba.Data import License, Design, Circuit, DesignExamples, ACSweep, SweepType, Status, Subcircuit
37
37
  from Simba.Data import ThermalComputationMethodType, ThermalDataType, ThermalDataSemiconductorType
38
38
  from Simba.Data.Thermal import ThermalData, IV_T, EI_VT
39
+ from Simba.Data.PsimImport import PsimImporter
39
40
  from System import Array
40
41
  import Simba.Data
41
42
 
@@ -89,4 +90,24 @@ def create_analysis_progress(callback):
89
90
  action = Action[AnalysisProgress](_handler)
90
91
 
91
92
  # Create and return the Progress<AnalysisProgress> object:
92
- return Progress[AnalysisProgress](action)
93
+ return Progress[AnalysisProgress](action)
94
+
95
+
96
+ def import_psim_xml(file_path):
97
+ """
98
+ Import a PSIM XML file into a SIMBA repository.
99
+ Parameters
100
+ ----------
101
+ file_path : str
102
+ The path to the PSIM XML file to import.
103
+ Returns
104
+ -------
105
+ Tuple[ProjectRepository, JsonProjectRepository, str]
106
+ A tuple containing:
107
+ - status: The status of the import operation
108
+ - ProjectRepository: The project repository with the SIMBA design.
109
+ - str: Error message if any, otherwise an empty string.
110
+ """
111
+ from Simba.Data.PsimImport import PsimImporter
112
+ ret = PsimImporter.CreateSIMBARepositoryFromPSIMFile(file_path);
113
+ return ret.Item1, ret.Item2, ret.Item3
aesim/simba/__init__.pyi CHANGED
@@ -3544,7 +3544,20 @@ class ThermalDevice:
3544
3544
  def Equals(self, obj: Any) -> bool: ...
3545
3545
  def GetHashCode(self) -> int: ...
3546
3546
 
3547
+ class SelectionService:
3548
+ @property
3549
+ def SelectedElements(self, ) -> List[Any]: ...
3550
+ def SetSelection(self, elements: List[ISelectable]) -> Any: ...
3551
+ def ClearSelection(self) -> Any: ...
3552
+ def GetType(self) -> Any: ...
3553
+ def ToString(self) -> str: ...
3554
+ def Equals(self, obj: Any) -> bool: ...
3555
+ def GetHashCode(self) -> int: ...
3556
+ def __init__(self): ...
3557
+
3547
3558
  class IProjectRepository:
3559
+ @property
3560
+ def ProjectDirectory(self, ) -> str: ...
3548
3561
  @property
3549
3562
  def Project(self, ) -> SerializableProject: ...
3550
3563
  def GetDesigns(self) -> List[Design]: ...
@@ -3575,6 +3588,8 @@ class IProjectRepository:
3575
3588
  class JsonProjectRepository:
3576
3589
  @property
3577
3590
  def Project(self, ) -> SerializableProject: ...
3591
+ @property
3592
+ def ProjectDirectory(self, ) -> str: ...
3578
3593
  def ReloadAsync(self, path: Optional[str] = None) -> Any: ...
3579
3594
  def UnsavedChanges(self) -> bool: ...
3580
3595
  def FilePath(self) -> str: ...
@@ -3609,6 +3624,8 @@ class JsonProjectRepository:
3609
3624
  class ProjectRepository:
3610
3625
  @property
3611
3626
  def Project(self, ) -> SerializableProject: ...
3627
+ @property
3628
+ def ProjectDirectory(self, ) -> str: ...
3612
3629
  def AddDesign(self, Design: Design, updateName: Optional[bool] = None) -> Any: ...
3613
3630
  def AddLibrary(self, library: Library) -> Library: ...
3614
3631
  def AddResults(self, Results: TransientAnalysisJob) -> TransientAnalysisJob: ...
@@ -4028,12 +4045,17 @@ class simba_location_offset_in_simba_ref:
4028
4045
 
4029
4046
  class PsimImporter:
4030
4047
  def CreateSIMBARepositoryFromPSIMFile(xml_path: str) -> Any: ...
4031
- def ImportAndTryDifferentScales(xml_path: str) -> Any: ...
4032
- def Import(xml_path: str) -> Any: ...
4048
+ def ImportAndCreateDesign(xml_path: str) -> Any: ...
4049
+ def IsNotManagedType(type_to_find: str) -> bool: ...
4050
+ def GetType(self) -> Any: ...
4051
+ def ToString(self) -> str: ...
4052
+ def Equals(self, obj: Any) -> bool: ...
4053
+ def GetHashCode(self) -> int: ...
4054
+
4055
+ class PsimImportHelper:
4033
4056
  def ExtractDataFromPsimXmlFile(xml_path: str, ErrorsAndWarnings: List[ErrorOrWarning]) -> PsimSchematic: ...
4034
4057
  def ExtractPsimSimbaJsonFile(ErrorsAndWarnings: List[ErrorOrWarning]) -> Json_Import_Object: ...
4035
4058
  def FindSimbaComponentFromPsimType(dictionary: Json_Import_Object, type: str) -> components_with_no_change: ...
4036
- def IsNotManagedType(type_to_find: str) -> bool: ...
4037
4059
  def FindSimbaSubcircuitFromPsimType(dictionary: Json_Import_Object, type: str) -> components_using_subcircuit: ...
4038
4060
  def CheckHybridComponents(json_dictionary: Json_Import_Object, component: PsimComponent, simba_component_rules: components_with_no_change) -> components_with_no_change: ...
4039
4061
  def CheckHybridComponents(json_dictionary: Json_Import_Object, component: PsimComponent, simba_subcircuit_rules: components_using_subcircuit) -> components_using_subcircuit: ...
@@ -4041,7 +4063,6 @@ class PsimImporter:
4041
4063
  def SortedByPinLocation(dictionary: Dict[DevicePin, PinProperties]) -> Dict[PointI, List[DevicePin]]: ...
4042
4064
  def SortedByPinNodeName(dictionary: Dict[DevicePin, PinProperties]) -> Dict[int, List[DevicePin]]: ...
4043
4065
  def CreateTheSimbaDevice(circuit: Circuit, temp_device: Device, component: PsimComponent, simba_component_rules: simba_components) -> Device: ...
4044
- def SetDeviceParameters(device: Device, parameters: Dict[str, str]) -> Any: ...
4045
4066
  def GetDeviceParameters(device: Device) -> Dict[str, str]: ...
4046
4067
  def CreateTheSubcircuitPort(circuit: Circuit, subcircuit_port: CNode, pin: Pin, cCircuit: CCircuit) -> List[ErrorOrWarning]: ...
4047
4068
  def NewCoordinates(coordinates: int) -> int: ...
@@ -4055,6 +4076,7 @@ class PsimImporter:
4055
4076
  def ToString(self) -> str: ...
4056
4077
  def Equals(self, obj: Any) -> bool: ...
4057
4078
  def GetHashCode(self) -> int: ...
4079
+ def __init__(self): ...
4058
4080
 
4059
4081
  class PsimSchematic:
4060
4082
  @property
@@ -14637,6 +14659,114 @@ class IdealThyristor:
14637
14659
  def GetHashCode(self) -> int: ...
14638
14660
  def __init__(self): ...
14639
14661
 
14662
+ class ZenerDiode:
14663
+ @property
14664
+ def LibraryItemName(self, ) -> str: ...
14665
+ @property
14666
+ def ModelType(self, ) -> ModelType: ...
14667
+ @property
14668
+ def Prefix(self, ) -> str: ...
14669
+ @property
14670
+ def Pins(self, ) -> List[Any]: ...
14671
+ @property
14672
+ def Shapes(self, ) -> List[Any]: ...
14673
+ @property
14674
+ def Scopes(self, ) -> List[Scope]: ...
14675
+ @property
14676
+ def Anode(self, ) -> DevicePin: ...
14677
+ @property
14678
+ def Cathode(self, ) -> DevicePin: ...
14679
+ @property
14680
+ def Rd(self, ) -> DoubleParameter: ...
14681
+ @property
14682
+ def Vf(self, ) -> DoubleParameter: ...
14683
+ @property
14684
+ def Rbr(self, ) -> DoubleParameter: ...
14685
+ @property
14686
+ def Vbr(self, ) -> DoubleParameter: ...
14687
+ @property
14688
+ def InstanceID(self, ) -> Any: ...
14689
+ @property
14690
+ def UndoTrackingId(self, ) -> Any: ...
14691
+ @property
14692
+ def Circuit(self, ) -> Circuit: ...
14693
+ @property
14694
+ def DeviceToCircuitMatrixTransform(self, ) -> Any: ...
14695
+ @property
14696
+ def CircuitToDeviceMatrixTransform(self, ) -> Any: ...
14697
+ @property
14698
+ def UnrotatedTop(self, ) -> int: ...
14699
+ @property
14700
+ def UnrotatedLeft(self, ) -> int: ...
14701
+ @property
14702
+ def UnrotatedWidth(self, ) -> int: ...
14703
+ @property
14704
+ def UnrotatedHeight(self, ) -> int: ...
14705
+ @property
14706
+ def RotationAngle(self, ) -> int: ...
14707
+ @property
14708
+ def HorizontallyFlipped(self, ) -> bool: ...
14709
+ @property
14710
+ def VerticallyFlipped(self, ) -> bool: ...
14711
+ @property
14712
+ def Deprecated(self, ) -> bool: ...
14713
+ @property
14714
+ def SubcircuitInSolver(self, ) -> bool: ...
14715
+ @property
14716
+ def Disabled(self, ) -> bool: ...
14717
+ @property
14718
+ def SymbolFilePath(self, ) -> str: ...
14719
+ @property
14720
+ def SymbolFilename(self, ) -> str: ...
14721
+ @property
14722
+ def IsBeta(self, ) -> bool: ...
14723
+ @property
14724
+ def Childrens(self, ) -> List[Any]: ...
14725
+ @property
14726
+ def LibraryItemPath(self, ) -> str: ...
14727
+ @property
14728
+ def ParameterShapes(self, ) -> List[Any]: ...
14729
+ @property
14730
+ def Parameters(self, ) -> List[Any]: ...
14731
+ @property
14732
+ def Footprint(self, ) -> RectangleI: ...
14733
+ @property
14734
+ def PositionUnrotated(self, ) -> PointI: ...
14735
+ @property
14736
+ def Position(self, ) -> PointI: ...
14737
+ @property
14738
+ def DocumentationURL(self, ) -> Documentation: ...
14739
+ @property
14740
+ def ObservableScopes(self, ) -> List[Any]: ...
14741
+ @property
14742
+ def Additional_Data(self, ) -> Dict[str, List[str]]: ...
14743
+ @property
14744
+ def Name(self, ) -> StringParameter: ...
14745
+ @property
14746
+ def EntityId(self, ) -> Any: ...
14747
+ def Move(self, delta: Optional[Any] = None, rotationAngle: Optional[int] = None, horizontalFlip: Optional[bool] = None, verticalFlip: Optional[bool] = None) -> bool: ...
14748
+ def Move(self, deltaX: int, deltaY: int, rotationAngle: Optional[int] = None, horizontalFlip: Optional[bool] = None, verticalFlip: Optional[bool] = None) -> bool: ...
14749
+ def CanMove(self, delta: Any, rotationAngle: Optional[int] = None, horizontalFlip: Optional[bool] = None, verticalFlip: Optional[bool] = None, itemsToIgnore: Optional[List[Any]] = None) -> bool: ...
14750
+ def CanMove(self, deltaX: int, deltaY: int, rotationAngle: Optional[int] = None, horizontalFlip: Optional[bool] = None, verticalFlip: Optional[bool] = None, itemsToIgnore: Optional[List[Any]] = None) -> bool: ...
14751
+ def SetName(self, name: str) -> Any: ...
14752
+ def GetName(self) -> str: ...
14753
+ def Serialize(self) -> str: ...
14754
+ def Copy(self) -> ICopiable: ...
14755
+ def RotateLeft(self) -> Any: ...
14756
+ def HorizontalFlip(self) -> Any: ...
14757
+ def VerticalFlip(self) -> Any: ...
14758
+ def RotateRight(self) -> Any: ...
14759
+ def SetColors(self, type: SignalType) -> Any: ...
14760
+ def SameTypeAndFootprint(self, d: Device) -> bool: ...
14761
+ def Resize(self, new_left: int, new_top: int, new_width: int, new_height: int) -> Any: ...
14762
+ def UpdateObservableScopes(self) -> Any: ...
14763
+ def ParametersUpdated(self) -> Any: ...
14764
+ def GetType(self) -> Any: ...
14765
+ def ToString(self) -> str: ...
14766
+ def Equals(self, obj: Any) -> bool: ...
14767
+ def GetHashCode(self) -> int: ...
14768
+ def __init__(self): ...
14769
+
14640
14770
  class CurrentMeter:
14641
14771
  @property
14642
14772
  def LibraryItemName(self, ) -> str: ...
@@ -15743,6 +15873,114 @@ class IM:
15743
15873
  def GetHashCode(self) -> int: ...
15744
15874
  def __init__(self): ...
15745
15875
 
15876
+ class JmagDirectCoupling:
15877
+ @property
15878
+ def LibraryItemName(self, ) -> str: ...
15879
+ @property
15880
+ def ModelType(self, ) -> ModelType: ...
15881
+ @property
15882
+ def Prefix(self, ) -> str: ...
15883
+ @property
15884
+ def Pins(self, ) -> List[Any]: ...
15885
+ @property
15886
+ def Scopes(self, ) -> List[Scope]: ...
15887
+ @property
15888
+ def Shapes(self, ) -> List[Any]: ...
15889
+ @property
15890
+ def InputFilePath(self, ) -> FilePathParameter: ...
15891
+ @property
15892
+ def XmlFilePath(self, ) -> FilePathParameter: ...
15893
+ @property
15894
+ def DllPath(self, ) -> FilePathParameter: ...
15895
+ @property
15896
+ def InterfaceExecutablePath(self, ) -> FilePathParameter: ...
15897
+ @property
15898
+ def J0(self, ) -> DoubleParameter: ...
15899
+ @property
15900
+ def B0(self, ) -> DoubleParameter: ...
15901
+ @property
15902
+ def InstanceID(self, ) -> Any: ...
15903
+ @property
15904
+ def UndoTrackingId(self, ) -> Any: ...
15905
+ @property
15906
+ def Circuit(self, ) -> Circuit: ...
15907
+ @property
15908
+ def DeviceToCircuitMatrixTransform(self, ) -> Any: ...
15909
+ @property
15910
+ def CircuitToDeviceMatrixTransform(self, ) -> Any: ...
15911
+ @property
15912
+ def UnrotatedTop(self, ) -> int: ...
15913
+ @property
15914
+ def UnrotatedLeft(self, ) -> int: ...
15915
+ @property
15916
+ def UnrotatedWidth(self, ) -> int: ...
15917
+ @property
15918
+ def UnrotatedHeight(self, ) -> int: ...
15919
+ @property
15920
+ def RotationAngle(self, ) -> int: ...
15921
+ @property
15922
+ def HorizontallyFlipped(self, ) -> bool: ...
15923
+ @property
15924
+ def VerticallyFlipped(self, ) -> bool: ...
15925
+ @property
15926
+ def Deprecated(self, ) -> bool: ...
15927
+ @property
15928
+ def SubcircuitInSolver(self, ) -> bool: ...
15929
+ @property
15930
+ def Disabled(self, ) -> bool: ...
15931
+ @property
15932
+ def SymbolFilePath(self, ) -> str: ...
15933
+ @property
15934
+ def SymbolFilename(self, ) -> str: ...
15935
+ @property
15936
+ def IsBeta(self, ) -> bool: ...
15937
+ @property
15938
+ def Childrens(self, ) -> List[Any]: ...
15939
+ @property
15940
+ def LibraryItemPath(self, ) -> str: ...
15941
+ @property
15942
+ def ParameterShapes(self, ) -> List[Any]: ...
15943
+ @property
15944
+ def Parameters(self, ) -> List[Any]: ...
15945
+ @property
15946
+ def Footprint(self, ) -> RectangleI: ...
15947
+ @property
15948
+ def PositionUnrotated(self, ) -> PointI: ...
15949
+ @property
15950
+ def Position(self, ) -> PointI: ...
15951
+ @property
15952
+ def DocumentationURL(self, ) -> Documentation: ...
15953
+ @property
15954
+ def ObservableScopes(self, ) -> List[Any]: ...
15955
+ @property
15956
+ def Additional_Data(self, ) -> Dict[str, List[str]]: ...
15957
+ @property
15958
+ def Name(self, ) -> StringParameter: ...
15959
+ @property
15960
+ def EntityId(self, ) -> Any: ...
15961
+ def Move(self, delta: Optional[Any] = None, rotationAngle: Optional[int] = None, horizontalFlip: Optional[bool] = None, verticalFlip: Optional[bool] = None) -> bool: ...
15962
+ def Move(self, deltaX: int, deltaY: int, rotationAngle: Optional[int] = None, horizontalFlip: Optional[bool] = None, verticalFlip: Optional[bool] = None) -> bool: ...
15963
+ def CanMove(self, delta: Any, rotationAngle: Optional[int] = None, horizontalFlip: Optional[bool] = None, verticalFlip: Optional[bool] = None, itemsToIgnore: Optional[List[Any]] = None) -> bool: ...
15964
+ def CanMove(self, deltaX: int, deltaY: int, rotationAngle: Optional[int] = None, horizontalFlip: Optional[bool] = None, verticalFlip: Optional[bool] = None, itemsToIgnore: Optional[List[Any]] = None) -> bool: ...
15965
+ def SetName(self, name: str) -> Any: ...
15966
+ def GetName(self) -> str: ...
15967
+ def Serialize(self) -> str: ...
15968
+ def Copy(self) -> ICopiable: ...
15969
+ def RotateLeft(self) -> Any: ...
15970
+ def HorizontalFlip(self) -> Any: ...
15971
+ def VerticalFlip(self) -> Any: ...
15972
+ def RotateRight(self) -> Any: ...
15973
+ def SetColors(self, type: SignalType) -> Any: ...
15974
+ def SameTypeAndFootprint(self, d: Device) -> bool: ...
15975
+ def Resize(self, new_left: int, new_top: int, new_width: int, new_height: int) -> Any: ...
15976
+ def UpdateObservableScopes(self) -> Any: ...
15977
+ def ParametersUpdated(self) -> Any: ...
15978
+ def GetType(self) -> Any: ...
15979
+ def ToString(self) -> str: ...
15980
+ def Equals(self, obj: Any) -> bool: ...
15981
+ def GetHashCode(self) -> int: ...
15982
+ def __init__(self): ...
15983
+
15746
15984
  class JmagRT_IM:
15747
15985
  @property
15748
15986
  def LibraryItemName(self, ) -> str: ...
@@ -15773,7 +16011,7 @@ class JmagRT_IM:
15773
16011
  @property
15774
16012
  def Pin_Pcage(self, ) -> DevicePin: ...
15775
16013
  @property
15776
- def RttCalculatorLibraryFilePath(self, ) -> StringParameter: ...
16014
+ def RttCalculatorLibraryFilePath(self, ) -> FilePathParameter: ...
15777
16015
  @property
15778
16016
  def AdvancedParameters(self, ) -> JMAGRT_AdvancedParameter: ...
15779
16017
  @property
@@ -15942,7 +16180,7 @@ class JmagRT_PMSM:
15942
16180
  @property
15943
16181
  def Pin_Pmagnet(self, ) -> DevicePin: ...
15944
16182
  @property
15945
- def RttCalculatorLibraryFilePath(self, ) -> StringParameter: ...
16183
+ def RttCalculatorLibraryFilePath(self, ) -> FilePathParameter: ...
15946
16184
  @property
15947
16185
  def AdvancedParameters(self, ) -> JMAGRT_AdvancedParameter: ...
15948
16186
  @property
@@ -16117,7 +16355,7 @@ class JmagRT_WFSM:
16117
16355
  @property
16118
16356
  def Pin_Pwinding(self, ) -> DevicePin: ...
16119
16357
  @property
16120
- def RttCalculatorLibraryFilePath(self, ) -> StringParameter: ...
16358
+ def RttCalculatorLibraryFilePath(self, ) -> FilePathParameter: ...
16121
16359
  @property
16122
16360
  def AdvancedParameters(self, ) -> JMAGRT_AdvancedParameterNoSkew: ...
16123
16361
  @property
@@ -25349,6 +25587,48 @@ class ReleaseInfo:
25349
25587
  def GetHashCode(self) -> int: ...
25350
25588
  def __init__(self): ...
25351
25589
 
25590
+ class CircuitElement:
25591
+ @property
25592
+ def File(self, ) -> str: ...
25593
+ @property
25594
+ def Name(self, ) -> str: ...
25595
+ @property
25596
+ def Terminals(self, ) -> List[Terminal]: ...
25597
+ def GetType(self) -> Any: ...
25598
+ def ToString(self) -> str: ...
25599
+ def Equals(self, obj: Any) -> bool: ...
25600
+ def GetHashCode(self) -> int: ...
25601
+ def __init__(self): ...
25602
+ def __init__(self, xmlPath: str): ...
25603
+
25604
+ class Terminal:
25605
+ @property
25606
+ def Id(self, ) -> str: ...
25607
+ @property
25608
+ def Name(self, ) -> str: ...
25609
+ @property
25610
+ def Port(self, ) -> str: ...
25611
+ @property
25612
+ def Jmag(self, ) -> Jmag: ...
25613
+ def GetType(self) -> Any: ...
25614
+ def ToString(self) -> str: ...
25615
+ def Equals(self, obj: Any) -> bool: ...
25616
+ def GetHashCode(self) -> int: ...
25617
+ def __init__(self): ...
25618
+
25619
+ class Jmag:
25620
+ @property
25621
+ def Condition(self, ) -> str: ...
25622
+ @property
25623
+ def Id(self, ) -> str: ...
25624
+ @property
25625
+ def Component(self, ) -> str: ...
25626
+ def GetType(self) -> Any: ...
25627
+ def ToString(self) -> str: ...
25628
+ def Equals(self, obj: Any) -> bool: ...
25629
+ def GetHashCode(self) -> int: ...
25630
+ def __init__(self): ...
25631
+
25352
25632
  class ArrayHelper:
25353
25633
  def ToString(value: Any) -> str: ...
25354
25634
  def SortByFirstColumn(array: List[Any], comparer: Optional[Any] = None) -> List[Any]: ...
@@ -25389,6 +25669,8 @@ class SolverLibrary:
25389
25669
  def GetHashCode(self) -> int: ...
25390
25670
 
25391
25671
  class DefaultColors:
25672
+ @property
25673
+ def IsDarkMode() -> bool: ...
25392
25674
  @property
25393
25675
  def ElectricalDevice() -> Any: ...
25394
25676
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aesim.simba
3
- Version: 2025.4.14a1
3
+ Version: 2025.6.2a1
4
4
  Summary: Power Electronics and Motor Drive Simulation
5
5
  Home-page: https://simba.io
6
6
  Author: AESIM.tech
@@ -1,5 +1,5 @@
1
- aesim/simba/__init__.py,sha256=pfDNSSeJ-dRDbOjpZ9xBj_6-vJjADO0g0UmuM9KTtYg,4038
2
- aesim/simba/__init__.pyi,sha256=o00ybJKD08BMpsrbpgOx1vKmI_GIyOOoEBvs3JlsOt8,993511
1
+ aesim/simba/__init__.py,sha256=4melaeOXqrYc0g8YxSqK7ZcGTj6bkpFyZDBky0zMvpo,4763
2
+ aesim/simba/__init__.pyi,sha256=qBZM4e-jYWrkeW5TxclaACTmb50hCIezjjvQRiuXrXk,1003427
3
3
  aesim/simba/Resources/CommunityToolkit.Mvvm.dll,sha256=fX61wGbP6IO0ObEgC_Xcs4ex5TGd0u29qp4jrf5BZFI,120616
4
4
  aesim/simba/Resources/CsvHelper.dll,sha256=4OmT41HLbUDs7BzGokrFwRvqkV5QXu5o7m4KbDNEK0I,225280
5
5
  aesim/simba/Resources/DeviceId.Linux.dll,sha256=hXtjaRonnBKQ33G6taAjq8I81E-Axrjpg0wlrnBdPpY,22016
@@ -7,16 +7,16 @@ aesim/simba/Resources/DeviceId.Mac.dll,sha256=6I3_GfZi4cZq0GVp1wQYctZ-K7MB5rg-Pl
7
7
  aesim/simba/Resources/DeviceId.Windows.dll,sha256=qLDu0bRrZDAvo91PAiykCXI0ZMxERFkWq36S48x9-D0,8704
8
8
  aesim/simba/Resources/DeviceId.dll,sha256=3ausUEjJRfjoloKK3Lc_96l67C-M-i45MObdt-AdBNM,23552
9
9
  aesim/simba/Resources/Python.Runtime.dll,sha256=ZjqNvuSeP9WKTZmjkmwsE_k2-8ykd_wDj_RyyUWbjgk,431616
10
- aesim/simba/Resources/Simba.Data.deps.json,sha256=WTTozVu_-1tUZM0UcNIkncGniKimfHaR-gkUl9HVZ4w,43198
11
- aesim/simba/Resources/Simba.Data.dll,sha256=VD3CXK8pWO8LdMvs81NGwgaJa7Mth7TFZt3eVFM5aHM,1217536
10
+ aesim/simba/Resources/Simba.Data.deps.json,sha256=ssNntTb7EI91Wym2o0t1yxtX-n2UEjSUJ3WuzRI5RIY,43268
11
+ aesim/simba/Resources/Simba.Data.dll,sha256=cMt8dMzXtvOYfcnJML_RZ2CYoKo89iX84MsRByiRaYk,1229824
12
12
  aesim/simba/Resources/Simba.Data.runtimeconfig.json,sha256=qWGqDB5ckgD-haFsPA4NOQZeF5sngm30oP_KTS_PVVo,394
13
- aesim/simba/Resources/Simba.Drawing.dll,sha256=AtqJ-yxBuRgqBBI9_wToEksVxryo-MYItq7DxnRESgQ,23040
14
- aesim/simba/Resources/Simba.Helper.dll,sha256=XWNYT2xO1ZY0ogMvJ7NrCCU8cpGz1w8dC0uTpV-pp04,14848
15
- aesim/simba/Resources/Resources/DesignExamples.jsimba,sha256=nJ6sLysLcOMbz5FIko0A6PqIL32qDwlYzVbiZ0ivDRc,1488462
13
+ aesim/simba/Resources/Simba.Drawing.dll,sha256=JIGc52wPUnCfdsMLQ9zKXF3Mdr7QW1G1bE-AE77mGT0,23040
14
+ aesim/simba/Resources/Simba.Helper.dll,sha256=uLo9Qwt6vRtjmZdkMEAmhP_w-G9RKc2Qo8K0TWnzH4g,14336
15
+ aesim/simba/Resources/Resources/DesignExamples.jsimba,sha256=cIFAYPI0wvtV3rdiAce76UW2KEP4NH0vSlM88nN_t_0,1488462
16
16
  aesim/simba/Resources/Resources/PsimSimbaDictionary.json,sha256=numnsGga55lhBECoq-F8H-Btp_OBtjsqIBMc1d73lVk,489396
17
- aesim/simba/Resources/Resources/libSimba.Solvers.linux-arm64.so,sha256=x4g7UznVwZ4rwQiKcl-vbqhqjeKTkHIkhgsfJ3rwP0E,8557840
18
- aesim/simba/Resources/Resources/simba_library.c,sha256=gMHpqpngHvQ7uN8zmPtrIkr1xjrOjARHg0qKYC5sNEU,2823
19
- aesim/simba/Resources/Resources/simba_library.h,sha256=ypY3lWFy3bx9epXQGbFhaaJheyfk7CN0PttmBOUHjzM,999
17
+ aesim/simba/Resources/Resources/libSimba.Solvers.linux-arm64.so,sha256=_PAWLzurWWyUW4FEt_dX4DIO6fIWCkv1L6c_EsQQiu4,8735320
18
+ aesim/simba/Resources/Resources/simba_library.c,sha256=GfyUhfouPQuG-L-k4JnFE2m0Qz5GX93ggPEg4XfCI38,3442
19
+ aesim/simba/Resources/Resources/simba_library.h,sha256=uDzYZZutB_hcKpXtQs43f9Zq-6PdMRSzAjgMp9EgDUI,1605
20
20
  aesim/simba/Resources/Resources/Examples/acdc_3ph_diodebridge.jsimba,sha256=Ua2-bBTjM5rR__owCoTBPBK9TsqJXGrtTLfeEA8bLm0,30216
21
21
  aesim/simba/Resources/Resources/Examples/acdc_3ph_thyristor_rectifier.jsimba,sha256=hgoG1ErvJMCEYT-mbFbTUAopGnyYDh1RoVkdcPtp8JI,99990
22
22
  aesim/simba/Resources/Resources/Examples/acdc_pfc_totem_pole.jsimba,sha256=pd1vdz6NpzcJ54Ryl4fcM7T2L-5AnDqXyrVN_jo5jH8,93478
@@ -228,7 +228,7 @@ aesim/simba/Resources/dotnet/shared/Microsoft.NETCore.App/9.0.0/libmscordaccore.
228
228
  aesim/simba/Resources/dotnet/shared/Microsoft.NETCore.App/9.0.0/libmscordbi.so,sha256=bnbrgjiRSJG0lRVnte7brQ9vvkwrcJgmV8xs8P9ts8A,1717392
229
229
  aesim/simba/Resources/dotnet/shared/Microsoft.NETCore.App/9.0.0/mscorlib.dll,sha256=NKmFI5g9pkXIbPUcuPsl2vOjWDlk7k_Fs1rzZS49P_0,49664
230
230
  aesim/simba/Resources/dotnet/shared/Microsoft.NETCore.App/9.0.0/netstandard.dll,sha256=aEU1ceWM7D3PVqrss-btu4l01_JM5z0J94VeR1KE4g0,90624
231
- aesim_simba-2025.4.14a1.dist-info/METADATA,sha256=wlZiFNlUxzuroWunN6VOU8Zn4Mp_5fBcvajcuDB7Qtw,3332
232
- aesim_simba-2025.4.14a1.dist-info/WHEEL,sha256=d-nwAr0viRCRTUkpX6wuxSLkSL9QwM4xd3A51y4fAEw,109
233
- aesim_simba-2025.4.14a1.dist-info/top_level.txt,sha256=Rl2TekTH7Z1aRbKhE4okcrHjcDpapnmnsn5xI4Mb7_k,6
234
- aesim_simba-2025.4.14a1.dist-info/RECORD,,
231
+ aesim_simba-2025.6.2a1.dist-info/METADATA,sha256=Rk3zFvLx5_Or-Rb5AcTl1CzL9EsA1juCP6haFDcCEFA,3331
232
+ aesim_simba-2025.6.2a1.dist-info/WHEEL,sha256=ABAV42k93WKqnYKLN0BIVQbWApIm1M5UwJVvVB4zSLM,109
233
+ aesim_simba-2025.6.2a1.dist-info/top_level.txt,sha256=Rl2TekTH7Z1aRbKhE4okcrHjcDpapnmnsn5xI4Mb7_k,6
234
+ aesim_simba-2025.6.2a1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-manylinux2014_aarch64
5
5