aesim.simba 2025.3.28__py3-none-macosx_11_0_arm64.whl → 2025.6.26a1__py3-none-macosx_11_0_arm64.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.
@@ -6,19 +6,19 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v9.0": {
9
- "Simba.Data/25.03.28": {
9
+ "Simba.Data/25.06.26": {
10
10
  "dependencies": {
11
11
  "CommunityToolkit.Mvvm": "8.4.0",
12
- "CsvHelper": "33.0.1",
12
+ "CsvHelper": "33.1.0",
13
13
  "DeviceId": "6.9.0",
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.3.28",
18
- "Simba.Helper": "25.3.28",
17
+ "Simba.Drawing": "25.6.26",
18
+ "Simba.Helper": "25.6.26",
19
19
  "System.ComponentModel.Annotations": "5.0.0",
20
20
  "System.Net.Http": "4.3.4",
21
- "System.Text.Json": "9.0.3",
21
+ "System.Text.Json": "9.0.6",
22
22
  "pythonnet": "3.0.3"
23
23
  },
24
24
  "runtime": {
@@ -33,11 +33,11 @@
33
33
  }
34
34
  }
35
35
  },
36
- "CsvHelper/33.0.1": {
36
+ "CsvHelper/33.1.0": {
37
37
  "runtime": {
38
- "lib/net8.0/CsvHelper.dll": {
38
+ "lib/net9.0/CsvHelper.dll": {
39
39
  "assemblyVersion": "33.0.0.0",
40
- "fileVersion": "33.0.1.24"
40
+ "fileVersion": "33.1.0.26"
41
41
  }
42
42
  }
43
43
  },
@@ -52,7 +52,7 @@
52
52
  "DeviceId.Linux/6.9.0": {
53
53
  "dependencies": {
54
54
  "DeviceId": "6.9.0",
55
- "System.Text.Json": "9.0.3"
55
+ "System.Text.Json": "9.0.6"
56
56
  },
57
57
  "runtime": {
58
58
  "lib/net9.0/DeviceId.Linux.dll": {
@@ -506,7 +506,7 @@
506
506
  "System.Runtime": "4.3.0"
507
507
  }
508
508
  },
509
- "System.Text.Json/9.0.3": {},
509
+ "System.Text.Json/9.0.6": {},
510
510
  "System.Threading/4.3.0": {
511
511
  "dependencies": {
512
512
  "System.Runtime": "4.3.0",
@@ -520,26 +520,29 @@
520
520
  "System.Runtime": "4.3.0"
521
521
  }
522
522
  },
523
- "Simba.Drawing/25.3.28": {
523
+ "Simba.Drawing/25.6.26": {
524
524
  "runtime": {
525
525
  "Simba.Drawing.dll": {
526
- "assemblyVersion": "25.3.28.0",
527
- "fileVersion": "25.3.28.0"
526
+ "assemblyVersion": "25.6.26.0",
527
+ "fileVersion": "25.6.26.0"
528
528
  }
529
529
  }
530
530
  },
531
- "Simba.Helper/25.3.28": {
531
+ "Simba.Helper/25.6.26": {
532
+ "dependencies": {
533
+ "CommunityToolkit.Mvvm": "8.4.0"
534
+ },
532
535
  "runtime": {
533
536
  "Simba.Helper.dll": {
534
- "assemblyVersion": "25.3.28.0",
535
- "fileVersion": "25.3.28.0"
537
+ "assemblyVersion": "25.6.26.0",
538
+ "fileVersion": "25.6.26.0"
536
539
  }
537
540
  }
538
541
  }
539
542
  }
540
543
  },
541
544
  "libraries": {
542
- "Simba.Data/25.03.28": {
545
+ "Simba.Data/25.06.26": {
543
546
  "type": "project",
544
547
  "serviceable": false,
545
548
  "sha512": ""
@@ -551,12 +554,12 @@
551
554
  "path": "communitytoolkit.mvvm/8.4.0",
552
555
  "hashPath": "communitytoolkit.mvvm.8.4.0.nupkg.sha512"
553
556
  },
554
- "CsvHelper/33.0.1": {
557
+ "CsvHelper/33.1.0": {
555
558
  "type": "package",
556
559
  "serviceable": true,
557
- "sha512": "sha512-fev4lynklAU2A9GVMLtwarkwaanjSYB4wUqO2nOJX5hnzObORzUqVLe+bDYCUyIIRQM4o5Bsq3CcyJR89iMmEQ==",
558
- "path": "csvhelper/33.0.1",
559
- "hashPath": "csvhelper.33.0.1.nupkg.sha512"
560
+ "sha512": "sha512-kqfTOZGrn7NarNeXgjh86JcpTHUoeQDMB8t9NVa/ZtlSYiV1rxfRnQ49WaJsob4AiGrbK0XDzpyKkBwai4F8eg==",
561
+ "path": "csvhelper/33.1.0",
562
+ "hashPath": "csvhelper.33.1.0.nupkg.sha512"
560
563
  },
561
564
  "DeviceId/6.9.0": {
562
565
  "type": "package",
@@ -971,12 +974,12 @@
971
974
  "path": "system.text.encoding/4.3.0",
972
975
  "hashPath": "system.text.encoding.4.3.0.nupkg.sha512"
973
976
  },
974
- "System.Text.Json/9.0.3": {
977
+ "System.Text.Json/9.0.6": {
975
978
  "type": "package",
976
979
  "serviceable": true,
977
- "sha512": "sha512-r2JRkLjsYrq5Dpo7+y3Wa73OfirZPdVhxiTJWwZ+oJM7FOAe0LkM3GlH+pgkNRdd1G1kwUbmRCdmh4uoaWwu1g==",
978
- "path": "system.text.json/9.0.3",
979
- "hashPath": "system.text.json.9.0.3.nupkg.sha512"
980
+ "sha512": "sha512-h+ZtYTyTnTh5Ju6mHCKb3FPGx4ylJZgm9W7Y2psUnkhQRPMOIxX+TCN0ZgaR/+Yea+93XHWAaMzYTar1/EHIPg==",
981
+ "path": "system.text.json/9.0.6",
982
+ "hashPath": "system.text.json.9.0.6.nupkg.sha512"
980
983
  },
981
984
  "System.Threading/4.3.0": {
982
985
  "type": "package",
@@ -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.3.28": {
998
+ "Simba.Drawing/25.6.26": {
996
999
  "type": "project",
997
1000
  "serviceable": false,
998
1001
  "sha512": ""
999
1002
  },
1000
- "Simba.Helper/25.3.28": {
1003
+ "Simba.Helper/25.6.26": {
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.03.28"
2
+ __version__ = "2025.06.26a1"
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