diff --git a/.buildtool/23.2.0.2515942/taskTraces/T1C9346538979369F b/.buildtool/23.2.0.2515942/taskTraces/T1C9346538979369F
deleted file mode 100644
index e6be403a..00000000
Binary files a/.buildtool/23.2.0.2515942/taskTraces/T1C9346538979369F and /dev/null differ
diff --git a/.buildtool/23.2.0.2515942/taskTraces/T2A0791B5FFCB38DE b/.buildtool/23.2.0.2515942/taskTraces/T2A0791B5FFCB38DE
deleted file mode 100644
index 10f1e197..00000000
Binary files a/.buildtool/23.2.0.2515942/taskTraces/T2A0791B5FFCB38DE and /dev/null differ
diff --git a/.buildtool/24.1.0.2628055/taskTraces/T2A0791B5FFCB38DE b/.buildtool/24.1.0.2628055/taskTraces/T2A0791B5FFCB38DE
deleted file mode 100644
index 287dcd18..00000000
Binary files a/.buildtool/24.1.0.2628055/taskTraces/T2A0791B5FFCB38DE and /dev/null differ
diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-24b-linux.yml
similarity index 63%
rename from .github/workflows/ci-linux.yml
rename to .github/workflows/ci-24b-linux.yml
index 27ea264b..fef5f95c 100644
--- a/.github/workflows/ci-linux.yml
+++ b/.github/workflows/ci-24b-linux.yml
@@ -1,126 +1,120 @@
-# GitHub Actions Workflow with MATLAB Actions
-#
-# For a general overview of GitHub Actions, see
-# https://docs.github.com/en/actions
-#
-# For using MathWorks products in GitHub Actions, see
-# https://github.com/matlab-actions/overview
-#
-# For details about the syntax of this file, see
-# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
-
-# Copyright 2021-2025 The MathWorks, Inc.
-
-name: CI using MATLAB on Linux
-
-on:
- push:
- branches: [ R2024b ]
- paths-ignore:
- - 'docs/**'
- - '**.md'
- - '**.png'
- - '**.svg'
- - '**.txt'
- - '**.xml'
-
- pull_request:
- branches: [ R2024b ]
- paths-ignore:
- - 'docs/**'
- - '**.md'
- - '**.png'
- - '**.svg'
- - '**.txt'
- - '**.xml'
-
-# schedule:
-# - cron: '55/61 20/25 1/6 * *' # schedule a weekly-ish build
-
- workflow_dispatch:
-
-jobs:
-
- job-buildtool:
-
- runs-on: ubuntu-latest
-
- # Matrix strategy is used to run the job in various MATLAB versions.
- # For information about matrix strategy, see the documentation.
- # - Running variations of jobs in a workflow
- # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow
- strategy:
- matrix:
- matlab_version: [R2024b]
- #matlab_version: [R2024b, R2025a]
-
- name: Test in ${{ matrix.matlab_version }} on Linux
-
- permissions:
- # required for sarif upload
- security-events: write
- checks: write # required for junit test result publishing
-
- steps:
-
- - name: Check out repository
- uses: actions/checkout@v4
-
- - name: Setup MATLAB ${{ matrix.matlab_version }}
- uses: matlab-actions/setup-matlab@v2
- with:
- release: ${{ matrix.matlab_version }}
- cache: true
- products: |
- Simulink
- Simscape
- Simscape_Electrical
- Simscape_Driveline
- Powertrain_Blockset
-
- - name: Start display server for running headless Linux with graphics
- run: |
- sudo apt-get install xvfb
- Xvfb :99 &
- echo "DISPLAY=:99" >> $GITHUB_ENV
-
- - name: Run tests via buildtool using buildfile.m
- uses: matlab-actions/run-command@v2
- with:
- command: |
- openProject(pwd);
- buildtool CodeIssues CheckProject Test
-
- - name: Upload SARIF file
- uses: github/codeql-action/upload-sarif@v3
- if: always()
- with:
- sarif_file: cache/buildtool-results/code-issues.sarif
- category: matlab-analysis
-
- - name: Publish Test Report
- uses: mikepenz/action-junit-report@v4
- if: always()
- with:
- report_paths: 'cache/buildtool-results/test-results.xml'
-
- - name: Upload Test Report
- if: always()
- uses: actions/upload-artifact@v4
- with:
- name: Test Results
- path: cache/buildtool-results/test-results.pdf
-
- - name: Upload All Artifacts
- if: always()
- uses: actions/upload-artifact@v4
- with:
- name: All Artifacts
- path: cache/buildtool-results
-
- - name: Publish coverage
- uses: 5monkeys/cobertura-action@master
- continue-on-error: true
- with:
- path: cache/buildtool-results/code-coverage.xml
- minimum_coverage: 75
+# GitHub Actions Workflow with MATLAB Actions
+#
+# For a general overview of GitHub Actions, see
+# https://docs.github.com/en/actions
+#
+# For using MathWorks products in GitHub Actions, see
+# https://github.com/matlab-actions/overview
+#
+# For details about the syntax of this file, see
+# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
+
+# Copyright 2021-2026 The MathWorks, Inc.
+
+name: Test using MATLAB R2024b on Linux
+
+on:
+ push:
+ branches: [ R2024b, R2024b-devel ]
+ paths-ignore:
+ - 'docs/**'
+ - '**.md'
+ - '**.png'
+ - '**.svg'
+ - '**.txt'
+ - '**.xml'
+
+ pull_request:
+ branches: [ R2024b, R2024b-devel ]
+ paths-ignore:
+ - 'docs/**'
+ - '**.md'
+ - '**.png'
+ - '**.svg'
+ - '**.txt'
+ - '**.xml'
+
+ workflow_dispatch:
+
+jobs:
+
+ job-buildtool:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ config:
+ - name: R2024b
+ file: buildfile_24b.m
+
+ name: Test R2024b branch using MATLAB ${{ matrix.config.name }} on Linux
+
+ permissions:
+ # required for sarif upload
+ security-events: write
+ checks: write # required for junit test result publishing
+
+ steps:
+
+ - name: Check out repository
+ uses: actions/checkout@v6
+
+ - name: Setup MATLAB ${{ matrix.config.name }}
+ uses: matlab-actions/setup-matlab@v2
+ with:
+ release: ${{ matrix.config.name }}
+ cache: true
+ products: |
+ Simulink
+ Simscape
+ Simscape_Electrical
+ Simscape_Driveline
+ Powertrain_Blockset
+
+ - name: Start display server for running headless Linux with graphics
+ run: |
+ sudo apt-get install xvfb
+ Xvfb :99 &
+ echo "DISPLAY=:99" >> $GITHUB_ENV
+
+ - name: Run tests
+ uses: matlab-actions/run-command@v2
+ with:
+ command: |
+ openProject(pwd);
+ buildtool -buildFile ${{ matrix.config.file }} -verbosity Verbose CodeIssues CheckProject Test
+
+ - name: Upload SARIF file
+ uses: github/codeql-action/upload-sarif@v4
+ if: always()
+ with:
+ sarif_file: test-result-24b/code-issues.sarif
+ category: matlab-analysis
+
+ - name: Publish Test Report
+ uses: mikepenz/action-junit-report@v4
+ if: always()
+ with:
+ report_paths: 'test-result-24b/test-result.xml'
+
+ - name: Upload Test Report
+ if: always()
+ uses: actions/upload-artifact@v4
+ with:
+ name: Test Results
+ path: test-result-24b/test-result.pdf
+
+ - name: Upload All Artifacts
+ if: always()
+ uses: actions/upload-artifact@v4
+ with:
+ name: All Artifacts
+ path: test-result
+
+ - name: Publish coverage
+ uses: 5monkeys/cobertura-action@master
+ continue-on-error: true
+ with:
+ path: test-result-24b/code-coverage.xml
+ minimum_coverage: 75
diff --git a/.github/workflows/ci-25b-linux.yml b/.github/workflows/ci-25b-linux.yml
new file mode 100644
index 00000000..b6517132
--- /dev/null
+++ b/.github/workflows/ci-25b-linux.yml
@@ -0,0 +1,81 @@
+# GitHub Actions Workflow with MATLAB Actions
+#
+# For a general overview of GitHub Actions, see
+# https://docs.github.com/en/actions
+#
+# For using MathWorks products in GitHub Actions, see
+# https://github.com/matlab-actions/overview
+#
+# For details about the syntax of this file, see
+# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
+
+# Copyright 2021-2026 The MathWorks, Inc.
+
+name: Test using MATLAB R2025b on Linux
+
+on:
+ push:
+ branches: [ R2024b, R2024b-devel ]
+ paths-ignore:
+ - 'docs/**'
+ - '**.md'
+ - '**.png'
+ - '**.svg'
+ - '**.txt'
+ - '**.xml'
+
+ pull_request:
+ branches: [ R2024b, R2024b-devel ]
+ paths-ignore:
+ - 'docs/**'
+ - '**.md'
+ - '**.png'
+ - '**.svg'
+ - '**.txt'
+ - '**.xml'
+
+ workflow_dispatch:
+
+jobs:
+
+ job-buildtool:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ config:
+ - name: R2025b
+ file: buildfile_24b.m
+
+ name: Test R2024b branch using MATLAB ${{ matrix.config.name }} on Linux
+
+ steps:
+
+ - name: Check out repository
+ uses: actions/checkout@v6
+
+ - name: Setup MATLAB ${{ matrix.config.name }}
+ uses: matlab-actions/setup-matlab@v2
+ with:
+ release: ${{ matrix.config.name }}
+ cache: true
+ products: |
+ Simulink
+ Simscape
+ Simscape_Electrical
+ Simscape_Driveline
+ Powertrain_Blockset
+
+ - name: Start display server for running headless Linux with graphics
+ run: |
+ sudo apt-get install xvfb
+ Xvfb :99 &
+ echo "DISPLAY=:99" >> $GITHUB_ENV
+
+ - name: Run tests via buildtool using buildfile.m
+ uses: matlab-actions/run-command@v2
+ with:
+ command: |
+ openProject(pwd);
+ buildtool -buildFile ${{ matrix.config.file }} -verbosity Verbose CodeIssues CheckProject Test
diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml
index 7c95ad48..2f5923d3 100644
--- a/.github/workflows/ci-windows.yml
+++ b/.github/workflows/ci-windows.yml
@@ -9,13 +9,13 @@
# For details about the syntax of this file, see
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
-# Copyright 2025 The MathWorks, Inc.
+# Copyright 2025-2026 The MathWorks, Inc.
-name: CI using MATLAB on Windows
+name: Test on Windows
on:
push:
- branches: [ R2024b ]
+ branches: [ R2024b, R2024b-devel ]
paths-ignore:
- 'docs/**'
- '**.md'
@@ -25,7 +25,7 @@ on:
- '**.xml'
pull_request:
- branches: [ R2024b ]
+ branches: [ R2024b, R2024b-devel ]
paths-ignore:
- 'docs/**'
- '**.md'
@@ -44,20 +44,19 @@ jobs:
strategy:
matrix:
- matlab_version: [R2024b]
- #matlab_version: [R2024b, R2025a]
+ matlab_release: [R2024b, latest]
- name: Test in ${{ matrix.matlab_version }} on Windows
+ name: Test R2024b branch using MATLAB ${{ matrix.matlab_release }} on Windows
steps:
- name: Check out repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- - name: Setup MATLAB ${{ matrix.matlab_version }}
+ - name: Setup MATLAB ${{ matrix.matlab_release }}
uses: matlab-actions/setup-matlab@v2
with:
- release: ${{ matrix.matlab_version }}
+ release: ${{ matrix.matlab_release }}
cache: true
products: |
Simulink
@@ -66,9 +65,9 @@ jobs:
Simscape_Driveline
Powertrain_Blockset
- - name: Run buildtool using buildfile.m
+ - name: Run tests
uses: matlab-actions/run-command@v2
with:
command: |
openProject(pwd);
- buildtool CodeIssues CheckProject Test
+ buildtool -buildFile buildfile_24b.m -verbosity Verbose CodeIssues CheckProject Test
diff --git a/BEV/BEV_system_model.mdl b/BEV/BEV_system_model.mdl
index 0face3f3..96e0b313 100644
--- a/BEV/BEV_system_model.mdl
+++ b/BEV/BEV_system_model.mdl
@@ -50,8 +50,8 @@ __MWOPC_PART_BEGIN__ /metadata/coreProperties.xml
Active
win64
3219657557
-397153425
-SimDriveline|Simscape
+3797519558
+485709269
+Simscape
%<Auto>
%<Auto>
-%<AutoIncrement:10.4>
+%<AutoIncrement:10.8>
off
@@ -2135,7 +2135,7 @@ __MWOPC_PART_BEGIN__ /simulink/graphicalInterface.json }, { "Path":"$bdroot\/High Voltage Battery", - "Reference":"BatteryHV_refsub_Basic", + "Reference":"BatteryHV_refsub_SystemSimple", "SID":"2177", "Type":"SUBSYSTEM_REFERENCE_BLOCK" }, @@ -2147,7 +2147,7 @@ __MWOPC_PART_BEGIN__ /simulink/graphicalInterface.json }, { "Path":"$bdroot\/Motor Drive Unit", - "Reference":"MotorDriveUnit_refsub_Basic", + "Reference":"MotorDriveUnit_refsub_BasicThermal", "SID":"50606", "Type":"SUBSYSTEM_REFERENCE_BLOCK" }, @@ -2180,7 +2180,7 @@ __MWOPC_PART_BEGIN__ /simulink/graphicalInterface.json }, { "BlockPath":"$bdroot\/High Voltage Battery", - "SubsystemName":"BatteryHV_refsub_Basic" + "SubsystemName":"BatteryHV_refsub_SystemSimple" }, { "BlockPath":"$bdroot\/Longitudinal Vehicle", @@ -2188,7 +2188,7 @@ __MWOPC_PART_BEGIN__ /simulink/graphicalInterface.json }, { "BlockPath":"$bdroot\/Motor Drive Unit", - "SubsystemName":"MotorDriveUnit_refsub_Basic" + "SubsystemName":"MotorDriveUnit_refsub_BasicThermal" }, { "BlockPath":"$bdroot\/Reduction Gear", @@ -2557,7 +2557,6 @@ __MWOPC_PART_BEGIN__ /simulink/plugins/LogicAnalyzerPlugin.xml ] } } -156343e0-a618-4864-8642-63ce31fd5147,aa13bc19-f9a3-4d54-b181-f1fe6034b5d7,e9352d6c-ed6c-4fc0-a8f1-2b48f34ec263,a61a4dd3-cfb1-452a-b5ec-28625e6957a5,633cb7fe-9c07-4f7b-a8d2-d1958567ce18,cabd2d8a-fe03-468d-9d90-6d0d6f5677a7,62c5d481-96ae-4bb4-8c7e-e9cff371b278,c9d0359c-2c3b-472f-aa9c-573c91284cf0,798db72f-c66f-4e4c-bf13-c11c17d9363a,3ad92900-4095-43b2-9adb-f2cc4ca12832,69db52ce-c1c2-4d77-9265-ec77c1c70ade,8626d831-2ff0-44d2-82e2-146e45931fc5,e830373f-755b-4f92-a31a-d7e0413e6539,1d6c5449-8385-4690-8a67-973a14b8cde8,90c9c0c2-f5fd-42a2-9497-697b81dd6c21,41499534-68c7-4b39-8f73-f942a880b09a,87f2814a-c84b-476b-b2c8-fc5997903e31,d81f4c3f-47fa-4701-a30f-8542d662cc32,8ca21251-f3f1-4fc2-ac74-49ae5da34738,17ca6eb7-7a28-4cc6-9a46-25e0afb1664d,09c136e4-9806-417f-aa92-a11d65704005,fe789493-94fc-47ab-bc59-d2b908cd999b,00efeadf-9f4b-45af-96ec-88ce4c023e9b,327ea723-58dc-48ae-b38e-e87d9692c8b6,440be714-d457-4a5b-8184-fd90cd78c83f,30b6ad56-b858-4766-b341-5e80314f48ea,43555446-eca9-4164-98f6-8da4960f096d,b4f07fd7-8361-4fc4-bfef-f31487630719,99866093-4e46-42fb-9949-68eeb0565cb1,65edf760-1505-45c5-a90c-c217cadc59bc,deed9973-ae8e-425f-877e-e40ec3b79cbd,ff490436-9df4-4fec-8a89-b51770aabc13,df832eda-374d-4b7b-9b78-c6a6cbd9286e,baf38c33-8cee-4517-96df-52a7c72db131,579a81b0-0516-4b0d-912c-d18f87df8ea2,69ffdc9a-dc2a-4b55-90ff-ae169515b02e,168ebb48-e6bc-4457-8df0-b0c629c22eb9,c1a03397-91d0-44f6-88e9-e0b150a9591c,d6c436b9-7ef8-493a-b20f-5de9154ac5b2,a64195e1-a049-4b99-b4e2-1073f68ff8d3,d8b0e262-b99f-4ee1-a9f5-a1df6b1d5a7d
__MWOPC_PART_BEGIN__ /simulink/plugins/NotesPlugin.xml @@ -2728,8 +2727,8 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1829.xml[60, 60, 1200, 700]
0
-{"entries":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":null,"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":{"content":{"attrsOfChildren":[{"type":"treeNode.ChildAttributes","uuid":"96c75b4c-e904-4e03-bf59-afc345aa3d38"},{"type":"treeNode.ChildAttributes","uuid":"90ef1a81-2fde-44c0-b3df-852c42f30e3f"},{"type":"treeNode.ChildAttributes","uuid":"211c0264-185b-4fe5-b51e-bc101c7ede48"},{"type":"treeNode.ChildAttributes","uuid":"1fd297e8-93a0-4f8c-a4ad-44504412fc1a"},{"type":"treeNode.ChildAttributes","uuid":"6f386d01-6dff-49aa-a010-c7c81756401b"}],"children":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"656a9fea-4017-4f2b-9a26-8a4ef43f8eea"},"indexOne":1,"name":"Current"},"type":"treeNode.ChildAttributes","uuid":"96c75b4c-e904-4e03-bf59-afc345aa3d38"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"362ccc72-7721-4f8a-8c9a-c05adaaf168f"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"656a9fea-4017-4f2b-9a26-8a4ef43f8eea"},"indexOne":2,"name":"Charge"},"type":"treeNode.ChildAttributes","uuid":"90ef1a81-2fde-44c0-b3df-852c42f30e3f"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"27f80613-8184-43dc-a986-807bf98b6140"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"656a9fea-4017-4f2b-9a26-8a4ef43f8eea"},"indexOne":3,"name":"Power"},"type":"treeNode.ChildAttributes","uuid":"211c0264-185b-4fe5-b51e-bc101c7ede48"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"kW"},"type":"treeNode.SignalAttributes","uuid":"214f73af-9eb5-4355-be3f-23aa16032b72"}},"type":"treeNode.TreeNode","uuid":"618ea345-ed35-43d9-8f59-56415642cc60"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"656a9fea-4017-4f2b-9a26-8a4ef43f8eea"},"indexOne":4,"name":"Temp"},"type":"treeNode.ChildAttributes","uuid":"1fd297e8-93a0-4f8c-a4ad-44504412fc1a"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"725b7154-b0a9-46fa-9d3e-0a27376ea30b"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"656a9fea-4017-4f2b-9a26-8a4ef43f8eea"},"indexOne":5,"name":"Voltage"},"type":"treeNode.ChildAttributes","uuid":"6f386d01-6dff-49aa-a010-c7c81756401b"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"2997f8e5-44a1-461f-a967-8fc5dfed670f"}]},"type":"treeNode.ParentAttributes","uuid":"656a9fea-4017-4f2b-9a26-8a4ef43f8eea"},"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"2e7b3a61-88cb-4180-be94-51ce1a466017"}],"packageUris":["http://schema.mathworks.com/mf0/mm_tree_node_datamodel/R2018b"],"version":"1.0"}
-{"port-tree":{"bep-in":{"1":"2e7b3a61-88cb-4180-be94-51ce1a466017"}}}
+{"entries":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":null,"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":{"content":{"attrsOfChildren":[{"type":"treeNode.ChildAttributes","uuid":"0e168050-b4d6-4a7e-a5a3-cfbe5f7db04b"},{"type":"treeNode.ChildAttributes","uuid":"7ec939a4-9528-40c6-a30f-43d3d2562563"},{"type":"treeNode.ChildAttributes","uuid":"d678c609-04bb-4689-b7c7-fe259c3c1561"},{"type":"treeNode.ChildAttributes","uuid":"737e64ef-08d3-4113-9060-fd8d8956d7d0"},{"type":"treeNode.ChildAttributes","uuid":"d9feb0f4-c182-48fd-9866-b1bc26265840"}],"children":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"a08a5499-3ed7-49fd-8ae6-1461cda38fe9"},"indexOne":1,"name":"Current"},"type":"treeNode.ChildAttributes","uuid":"0e168050-b4d6-4a7e-a5a3-cfbe5f7db04b"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"ce353a5b-0148-4267-b4cc-3a856ed18eb0"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"a08a5499-3ed7-49fd-8ae6-1461cda38fe9"},"indexOne":2,"name":"Charge"},"type":"treeNode.ChildAttributes","uuid":"7ec939a4-9528-40c6-a30f-43d3d2562563"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"ee85d395-fc54-4432-a7b3-fa1376d34f03"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"a08a5499-3ed7-49fd-8ae6-1461cda38fe9"},"indexOne":3,"name":"Power"},"type":"treeNode.ChildAttributes","uuid":"d678c609-04bb-4689-b7c7-fe259c3c1561"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"kW"},"type":"treeNode.SignalAttributes","uuid":"17dc86ae-c310-4c9f-8ade-f29cb01d99a6"}},"type":"treeNode.TreeNode","uuid":"27dfc495-f666-42e7-8e92-3a073ebe2c1c"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"a08a5499-3ed7-49fd-8ae6-1461cda38fe9"},"indexOne":4,"name":"Temp"},"type":"treeNode.ChildAttributes","uuid":"737e64ef-08d3-4113-9060-fd8d8956d7d0"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"d19f8661-f2f6-4497-9cbf-894172bf5848"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"a08a5499-3ed7-49fd-8ae6-1461cda38fe9"},"indexOne":5,"name":"Voltage"},"type":"treeNode.ChildAttributes","uuid":"d9feb0f4-c182-48fd-9866-b1bc26265840"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"9ce27904-b69c-42c7-af63-81d69d251279"}]},"type":"treeNode.ParentAttributes","uuid":"a08a5499-3ed7-49fd-8ae6-1461cda38fe9"},"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"16fc627b-156d-49bf-b63d-1e5682f27e80"}],"packageUris":["http://schema.mathworks.com/mf0/mm_tree_node_datamodel/R2018b"],"version":"1.0"}
+{"port-tree":{"bep-in":{"1":"16fc627b-156d-49bf-b63d-1e5682f27e80"}}}
[1015, -50, 1025, -40]
@@ -3041,7 +3040,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1829.xml[1210, -73, 1260, 183]
26261
-Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extmgr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('Sources','WiredSimulink',true,'DataLoggingVariableName','ScopeData1'),extmgr.Configuration('Visuals','Time Domain',true,'SerializedDisplays',{struct('MinYLimReal','-64.87908','MaxYLimReal','202.52993','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','202.52993','LegendVisibility','Off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'Battery Current'}},'ShowContent',true,'Placement',1),struct('MinYLimReal','337.9747','MaxYLimReal','340.64879','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'Battery Voltage'}},'ShowContent',true,'Placement',2),struct('MinYLimReal','122.83213','MaxYLimReal','123.60689','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'Battery Charge'}},'ShowContent',true,'Placement',3),struct('MinYLimReal','193.15','MaxYLimReal','393.15','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'Battery Temperature'}},'ShowContent',true,'Placement',4),struct('MinYLimReal','-2.63418','MaxYLimReal','23.70766','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'Electrical Efficiency'}},'ShowContent',true,'Placement',5)},'DisplayPropertyDefaults',struct('YLabelReal','','AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;1 1 0.0666666666666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.0745098039215686;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863]),'DisplayLayoutDimensions',[5 1],'DisplayContentCache',[]),extmgr.Configuration('Tools','Plot Navigation',true,'PreviousZoomMode','Pan','AutoscaleMode','Auto','ExpandOnly',false),extmgr.Configuration('Tools','Measurements',true,'Version','2024b')),'Version','2024b','Position',[273.8 103.4 1084.8 516],'VisibleAtModelOpen','on')
+Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extmgr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('Sources','WiredSimulink',true,'DataLoggingVariableName','ScopeData1'),extmgr.Configuration('Visuals','Time Domain',true,'SerializedDisplays',{struct('MinYLimReal','-68.00994','MaxYLimReal','212.32643','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','212.32643','LegendVisibility','Off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',1),struct('MinYLimReal','322.37092','MaxYLimReal','324.99674','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',2),struct('MinYLimReal','122.79845','MaxYLimReal','123.61063','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',3),struct('MinYLimReal','19.0425','MaxYLimReal','28.61754','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',4),struct('MinYLimReal','-2.63485','MaxYLimReal','23.71361','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',5)},'DisplayPropertyDefaults',struct('YLabelReal','','AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;1 1 0.0666666666666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.0745098039215686;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863]),'DisplayLayoutDimensions',[5 1],'DisplayContentCache',[]),extmgr.Configuration('Tools','Plot Navigation',true,'PreviousZoomMode','Pan','AutoscaleMode','Auto','ExpandOnly',false),extmgr.Configuration('Tools','Measurements',true,'Version','2024b')),'Version','2024b','Position',[1212.33333333333 696.333333333333 673.333333333333 516],'VisibleAtModelOpen','on')
5
off
[710, -75, 745, 265]
26262
-Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extmgr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('Sources','WiredSimulink',true,'DataLoggingVariableName','ScopeData2'),extmgr.Configuration('Visuals','Time Domain',true,'SerializedDisplays',{struct('MinYLimReal','-8.75806','MaxYLimReal','78.75955','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','78.75955','LegendVisibility','Off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',2,'LineNames',{{'Vehicle Speeds.Reference Vehicle Speed (km/hr)','Vehicle Speeds.Vehicle Speed (km/hr)'}},'ShowContent',true,'Placement',1),struct('MinYLimReal','-621.78375','MaxYLimReal','5591.58064','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',2,'LineNames',{{'Motor Speeds.Reference Motor Speed (rpm)','Motor Speeds.Motor speed (rpm)'}},'ShowContent',true,'Placement',2),struct('MinYLimReal','-0.11157','MaxYLimReal','0.23299','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'G-Force'}},'ShowContent',true,'Placement',3),struct('MinYLimReal','-84.6102','MaxYLimReal','223.58865','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'Motor Torque Command'}},'ShowContent',true,'Placement',4),struct('MinYLimReal','193.15','MaxYLimReal','393.15','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',1,'LineNames',{{'Motor Temperature'}},'ShowContent',true,'Placement',5)},'DisplayPropertyDefaults',struct('YLabelReal','','AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;1 1 0.0666666666666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.0745098039215686;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863]),'DisplayLayoutDimensions',[5 1],'DisplayContentCache',[]),extmgr.Configuration('Tools','Plot Navigation',true,'AutoscaleMode','Auto','ExpandOnly',false),extmgr.Configuration('Tools','Measurements',true,'Version','2024b')),'Version','2024b','Position',[447.4 153 1086.4 518.4],'VisibleAtModelOpen','on')
+Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extmgr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('Sources','WiredSimulink',true,'DataLoggingVariableName','ScopeData2'),extmgr.Configuration('Visuals','Time Domain',true,'SerializedDisplays',{struct('MinYLimReal','-8.7582','MaxYLimReal','78.75957','YLabelReal','','MinYLimMag','0.00000','MaxYLimMag','78.75957','LegendVisibility','Off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',1),struct('MinYLimReal','-621.79368','MaxYLimReal','5591.58174','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',2),struct('MinYLimReal','-0.11156','MaxYLimReal','0.23289','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',3),struct('MinYLimReal','-84.61451','MaxYLimReal','223.62699','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',4),struct('MinYLimReal','19.9111','MaxYLimReal','20.80013','YLabelReal','','MinYLimMag','0','MaxYLimMag','10','LegendVisibility','off','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',5)},'DisplayPropertyDefaults',struct('YLabelReal','','AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;1 1 0.0666666666666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.0745098039215686;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863]),'DisplayLayoutDimensions',[5 1],'DisplayContentCache',[]),extmgr.Configuration('Tools','Plot Navigation',true,'AutoscaleMode','Auto','ExpandOnly',false),extmgr.Configuration('Tools','Measurements',true,'Version','2024b')),'Version','2024b','Position',[1255.66666666667 779.666666666667 664.666666666667 518.666666666667],'VisibleAtModelOpen','on')
5
off
@@ -3432,7 +3431,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_root.xml[60, 60, 1200, 700]
on
simulink-default.rpt
-60404
+61019
[-105, 195, -100, 225]
@@ -3469,6 +3468,14 @@ open_system(gcb, "force")on
CtrlEnv_refsub_Basic
+FromPlant
+Inputs
+on
-BatteryHV_refsub_Basic
+BatteryHV_refsub_SystemSimple
{"entries":[{"content":{"sides":[{"content":{"connectorIds":["In1"]},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"5db791d4-e733-413a-9b9b-d79e76ac9bb0"},{"content":{"connectorIds":["RConn1","RConn2","Out1"],"side":"RIGHT"},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"0c12beb5-1dc0-4de1-849a-92aaa1061486"},{"content":{"side":"TOP"},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"758dbf8c-c8ee-4b73-af05-227531b6198b"},{"content":{"side":"HIDDEN"},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"fa4920b8-ec2a-4218-a476-41d1e0d36381"}]},"type":"ConnectorPlacement.EquallySpacedConnector","uuid":"d828a3e3-8826-44df-b770-75b0ad7bf91b"}],"packageUris":["http://schema.mathworks.com/mf0/Connector/R2020b"],"version":"1.0"}
Inputs
+Info
Battery
HighV
+Pwr
+Vehicle1D_refsub_Basic
{"entries":[{"content":{"sides":[{"content":{"connectorIds":["In1","LConn1"]},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"1278221b-4210-4fc4-9018-d7f4555b8d65"},{"content":{"connectorIds":["RConn1","Out1"],"side":"RIGHT"},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"ae02a7d1-22cf-4294-9907-02c3616e735c"},{"content":{"side":"TOP"},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"498bee53-b001-4331-968a-8dad39da1579"}]},"type":"ConnectorPlacement.EquallySpacedConnector","uuid":"c28a1585-5582-45c2-8974-ffffcb6069ab"}],"packageUris":["http://schema.mathworks.com/mf0/Connector/R2020b"],"version":"1.0"}
Inputs
+Info
Veh
Axle
+Spd
+on
-MotorDriveUnit_refsub_Basic
+MotorDriveUnit_refsub_BasicThermal
{"entries":[{"content":{"sides":[{"content":{"connectorIds":["In1","LConn1"]},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"67ecf7a6-5e47-4eb7-8bef-e90b74b30c45"},{"content":{"connectorIds":["RConn1","Out1"],"side":"RIGHT"},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"a9028cc8-cfc1-431e-b7d7-768ed50af379"},{"content":{"side":"TOP"},"type":"ConnectorPlacement.EquallySpacedRectSide","uuid":"a0687387-3123-4d08-86fe-456eeb37040f"}]},"type":"ConnectorPlacement.EquallySpacedConnector","uuid":"6bbfd8f6-f8bb-42c4-a351-7db31f6b96f0"}],"packageUris":["http://schema.mathworks.com/mf0/Connector/R2020b"],"version":"1.0"}
Ctrl
+Info
Motor
HighV
+Axle
+[205, -95, 315, -60]
26287
[0.011765, 0.011765, 0.011765]
[0.956863, 0.956863, 0.956863]
off
Helvetica
-{"components":[{"name":"BackgroundImageComponent","settings":{"image":{"size":[0,0],"src":"default","srcOrientation":"Right"},"position":[0,0,1,1]}},{"name":"ButtonStateComponent","settings":{"buttonType":"momentary","clickFcn":"edit(\"BEV_main_script\")\n","onValue":1,"position":[0,0,1,1],"pressDelay":"500","pressFcn":"","repeatInterval":"0","states":[{"horizontalAlignment":"center","image":{"position":[0,0,1,1],"src":"default","srcOrientation":"Right"},"label":{"color":[0.01176470588,0.01176470588,0.01176470588,1],"icon":{"size":[0,0],"src":"default","srcOrientation":"Right"},"iconPlacement":"left","text":{"content":"Main script"}},"labelOffset":[0,0],"verticalAlignment":"middle"},{"horizontalAlignment":"center","image":{"position":[0,0,1,1],"src":"default","srcOrientation":"Right"},"label":{"color":[0.01176470588,0.01176470588,0.01176470588,1],"icon":{"size":[0,0],"src":"default","srcOrientation":"Right"},"iconPlacement":"left","text":{"content":"Main script"}},"labelOffset":[0,0],"verticalAlignment":"middle"},{"horizontalAlignment":"center","image":{"position":[0,0,1,1],"src":"default","srcOrientation":"Right"},"label":{"color":[0.01176470588,0.01176470588,0.01176470588,1],"icon":{"size":[0,0],"src":"default","srcOrientation":"Right"},"iconPlacement":"left","text":{"content":"Main script"}},"labelOffset":[0,0],"verticalAlignment":"middle"},{"horizontalAlignment":"center","image":{"position":[0,0,1,1],"src":"default","srcOrientation":"Right"},"label":{"color":[0.01176470588,0.01176470588,0.01176470588,1],"icon":{"size":[0,0],"src":"default","srcOrientation":"Right"},"iconPlacement":"left","text":{"content":"Main script"}},"labelOffset":[0,0],"verticalAlignment":"middle"}]}},{"name":"ForegroundImageComponent","settings":{"image":{"size":[0,0],"src":"default","srcOrientation":"Right"},"isForeground":1,"position":[0,0,1,1]}}],"settings":{"BindingType":"standalone","backgroundColor":[244,244,244,1],"backgroundOffset":0.2,"backgroundOpacity":1,"fixedAspectRatio":"off","foregroundColor":[0.01176470588,0.01176470588,0.01176470588,1],"migratedFromLegacy":true,"useBackgroundColor":true,"variant":"callback","version":"R2023a"},"type":"Button"}
+{"components":[{"name":"BackgroundImageComponent","settings":{"image":{"size":[0,0],"src":"default","srcOrientation":"Right"},"position":[0,0,1,1]}},{"name":"ButtonStateComponent","settings":{"buttonType":"momentary","clickFcn":"edit(\"BEV_main_script\")\n","onValue":1,"position":[0,0,1,1],"pressDelay":"500","pressFcn":"","repeatInterval":"0","states":[{"horizontalAlignment":"center","image":{"position":[0,0,1,1],"size":[1,1],"src":"default","srcOrientation":"Right"},"label":{"color":[0.01176470588,0.01176470588,0.01176470588,1],"icon":{"size":[0,0],"src":"default","srcOrientation":"Right"},"iconOffset":0,"iconPlacement":"left","opacity":1,"show":true,"text":{"content":"Open script","font":"Helvetica"}},"labelOffset":[0,0],"verticalAlignment":"middle"},{"horizontalAlignment":"center","image":{"position":[0,0,1,1],"size":[1,1],"src":"default","srcOrientation":"Right"},"label":{"color":[0.01176470588,0.01176470588,0.01176470588,1],"icon":{"size":[0,0],"src":"default","srcOrientation":"Right"},"iconOffset":0,"iconPlacement":"left","opacity":1,"show":true,"text":{"content":"Open script","font":"Helvetica"}},"labelOffset":[0,0],"verticalAlignment":"middle"},{"horizontalAlignment":"center","image":{"position":[0,0,1,1],"size":[1,1],"src":"default","srcOrientation":"Right"},"label":{"color":[0.01176470588,0.01176470588,0.01176470588,1],"icon":{"size":[0,0],"src":"default","srcOrientation":"Right"},"iconOffset":0,"iconPlacement":"left","opacity":1,"show":true,"text":{"content":"Open script","font":"Helvetica"}},"labelOffset":[0,0],"verticalAlignment":"middle"},{"horizontalAlignment":"center","image":{"position":[0,0,1,1],"size":[1,1],"src":"default","srcOrientation":"Right"},"label":{"color":[0.01176470588,0.01176470588,0.01176470588,1],"icon":{"size":[0,0],"src":"default","srcOrientation":"Right"},"iconOffset":0,"iconPlacement":"left","opacity":1,"show":true,"text":{"content":"Open script","font":"Helvetica"}},"labelOffset":[0,0],"verticalAlignment":"middle"}]}},{"name":"ForegroundImageComponent","settings":{"image":{"size":[0,0],"src":"default","srcOrientation":"Right"},"isForeground":1,"position":[0,0,1,1]}}],"settings":{"BindingType":"standalone","backgroundColor":[244,244,244,1],"backgroundOffset":0.2,"backgroundOpacity":1,"fixedAspectRatio":"off","foregroundColor":[0.01176470588,0.01176470588,0.01176470588,1],"migratedFromLegacy":true,"useBackgroundColor":true,"variant":"callback","version":"R2023a"},"type":"Button"}
{"color":[0.9568627451,0.9568627451,0.9568627451],"show":true}
on
Reducer_refsub_Basic
+Motor
+Axle
+[785, -1, 815, 31]
26292
-Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extmgr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('Sources','WiredSimulink',true,'DataLoggingVariableName','ScopeData1'),extmgr.Configuration('Visuals','Time Domain',true),extmgr.Configuration('Tools','Plot Navigation',true),extmgr.Configuration('Tools','Measurements',true)),'Version','2023a')
+Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extmgr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('Sources','WiredSimulink',true,'DataLoggingVariableName','ScopeData1'),extmgr.Configuration('Visuals','Time Domain',true),extmgr.Configuration('Tools','Plot Navigation',true),extmgr.Configuration('Tools','Measurements',true)),'Version','2024b')
1
off
[185, 230, 423, 243]
[0, 0, 0, 0]
on
@@ -3880,32 +3925,52 @@ __MWOPC_PART_BEGIN__ /simulink/windowsInfo.xml1
SimulinkTopLevel
0
-[1345.0, 511.0]
+[1614.0, 622.0]
1.0
-[-221.5859375, -147.9]
-[-221.5859375, -147.9, 1076.0, 408.8]
+[-221.5859375, -150.83333333333334]
+[-221.5859375, -150.83333333333334, 1076.0, 414.66666666666669]
+ + -on
VehSpdRef_refsub_Basic
+Outport
+[995, 155, 1005, 165]
@@ -1359,8 +1403,8 @@ open_system(gcb, "force")<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body align="left" style=" font-family:'Helvetica'; font-size:10px; font-weight:400; font-style:normal;"> -<p align="left" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial'; font-size:12px;">Copyright 2020-2023 The MathWorks, Inc.</span></p></body></html>
+</style></head><body align="left" style=" font-family:'Arial'; font-size:12px; font-weight:400; font-style:normal;"> +<p align="left" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12px;">Copyright 2020-2026 The MathWorks, Inc.</span></p></body></html>[596, 308, 823, 324]
[0, 0, 0, 0]
rich
@@ -1469,7 +1513,7 @@ __MWOPC_PART_BEGIN__ /simulink/windowsInfo.xmle60b3c51-1890-4c33-8fec-cf8028969947
-76c60c72-d683-4231-bd3a-976286eaa560
+88709f04-91cb-469d-b2e6-b6bf800048f4
diff --git a/Components/VehicleSpeedReference/VehSpdRef_refsub_Basic.mdl b/Components/VehicleSpeedReference/VehSpdRef_refsub_Basic.mdl index 825e70a4..5e860d5f 100644 --- a/Components/VehicleSpeedReference/VehSpdRef_refsub_Basic.mdl +++ b/Components/VehicleSpeedReference/VehSpdRef_refsub_Basic.mdl @@ -44,8 +44,8 @@ __MWOPC_PART_BEGIN__ /metadata/coreProperties.xml%<Auto>
%<Auto>
-%<AutoIncrement:5.4>
+%<AutoIncrement:5.6>
normal
@@ -1661,32 +1661,32 @@ update(sig)km/h
348
+354
10#out:1
11#in:4
349
+355
805#out:1
11#in:3
350
+356
801#out:1
11#in:2
351
+357
1#out:1
11#in:1
352
+358
11#out:1
12#in:1
353
+359
809#out:1
11#in:5
on
on
rich
--12
+-52
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> @@ -1715,7 +1715,7 @@ p, li { white-space: pre-wrap; }
[61, 186, 288, 202]
[0, 0, 0, 0]
rich
--13
+-53
52328
@@ -1785,7 +1785,7 @@ __MWOPC_PART_BEGIN__ /simulink/windowsInfo.xml8bc14801-6706-4a24-a221-00273b187e76
-582c9b72-465c-4d01-a600-5f416f14b729
+eae75b8e-8fe4-4ae9-b112-6a32a6220de3
diff --git a/DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_calcElectricEfficiency.mlx b/DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_calcElectricEfficiency.mlx deleted file mode 100644 index c091b1e4..00000000 Binary files a/DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_calcElectricEfficiency.mlx and /dev/null differ diff --git a/DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_runSim.mlx b/DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_runSim.mlx deleted file mode 100644 index dce8dc15..00000000 Binary files a/DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_runSim.mlx and /dev/null differ diff --git a/DetailedModelApplications/BEVProject_DetailedModelApplications.mlx b/FYI/BEVProject_DetailedModelApplications.mlx similarity index 100% rename from DetailedModelApplications/BEVProject_DetailedModelApplications.mlx rename to FYI/BEVProject_DetailedModelApplications.mlx diff --git a/DetailedModelApplications/MotorDrivePmsmFem/MotorDriveElecLossParams.mat b/FYI/MotorDrivePmsmFem/MotorDriveElecLossParams.mat similarity index 100% rename from DetailedModelApplications/MotorDrivePmsmFem/MotorDriveElecLossParams.mat rename to FYI/MotorDrivePmsmFem/MotorDriveElecLossParams.mat diff --git a/DetailedModelApplications/MotorDrivePmsmFem/MotorDriveElecLossParams_text.m b/FYI/MotorDrivePmsmFem/MotorDriveElecLossParams_text.m similarity index 100% rename from DetailedModelApplications/MotorDrivePmsmFem/MotorDriveElecLossParams_text.m rename to FYI/MotorDrivePmsmFem/MotorDriveElecLossParams_text.m diff --git a/DetailedModelApplications/MotorDrivePmsmFem/MotorDrivePmsmFemParams.m b/FYI/MotorDrivePmsmFem/MotorDrivePmsmFemParams.m similarity index 100% rename from DetailedModelApplications/MotorDrivePmsmFem/MotorDrivePmsmFemParams.m rename to FYI/MotorDrivePmsmFem/MotorDrivePmsmFemParams.m diff --git a/FYI/MotorDrivePmsmFem/MotorDrive_calcElectricEfficiency.mlx b/FYI/MotorDrivePmsmFem/MotorDrive_calcElectricEfficiency.mlx new file mode 100644 index 00000000..e1e055ec Binary files /dev/null and b/FYI/MotorDrivePmsmFem/MotorDrive_calcElectricEfficiency.mlx differ diff --git a/FYI/MotorDrivePmsmFem/MotorDrive_runSim.mlx b/FYI/MotorDrivePmsmFem/MotorDrive_runSim.mlx new file mode 100644 index 00000000..8f11c944 Binary files /dev/null and b/FYI/MotorDrivePmsmFem/MotorDrive_runSim.mlx differ diff --git a/DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_testHarness.mdl b/FYI/MotorDrivePmsmFem/MotorDrive_testHarness.mdl similarity index 75% rename from DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_testHarness.mdl rename to FYI/MotorDrivePmsmFem/MotorDrive_testHarness.mdl index 02465883..3ef5177d 100644 --- a/DetailedModelApplications/MotorDrivePmsmFem/MotorDrive_testHarness.mdl +++ b/FYI/MotorDrivePmsmFem/MotorDrive_testHarness.mdl @@ -1,12 +1,14 @@ # MathWorks OPC Text Package Model { - Version 23.2 - Description "Simulink model saved in R2023b" + Version 24.2 + Description "Simulink model saved in R2024b" } -__MWOPC_PACKAGE_BEGIN__ R2023b +__MWOPC_PACKAGE_BEGIN__ R2024b __MWOPC_PART_BEGIN__ /[Content_Types].xmlwin64
572499788
-1887235409
+397995545
Power_System_Blocks|Simscape
%<Auto>
%<Auto>
-%<AutoIncrement:8.7>
+%<AutoIncrement:10.0>
on
@@ -345,11 +918,11 @@ __MWOPC_PART_BEGIN__ /simulink/blockdiagram.xml __MWOPC_PART_BEGIN__ /simulink/configSet0.xml[]
[]
[]
@@ -394,7 +967,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xml2
10
[]
[]
@@ -435,7 +1008,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlout.mat
[-inf, inf]
on
off
off
+off
GradualUnderflow
off
error
none
warning
+off
+0.0
+0.0
+OneBit
warning
none
none
@@ -576,7 +1154,6 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlUseLocalSettings
off
off
-none
error
none
none
@@ -584,7 +1161,6 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlwarning
none
warning
-error
none
warning
error
@@ -628,7 +1204,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlwarning
UseLocalSettings
[]
[]
@@ -676,7 +1252,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlon
EmbeddedCoderHSP
[]
[]
@@ -695,7 +1271,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmloff
off
[]
[]
@@ -724,6 +1300,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlon
on
65536
+Prefer
off
[]
NotSpecified
@@ -742,7 +1319,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlmkl-dnn
on
off
stackProfile
off
+off
CoderTypedefs
off
C
@@ -849,12 +1427,15 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xml0
none
on
+fp32
20.02.1
unspecified
None
+KeepInSourceFiles
+131072
[]
@@ -924,6 +1506,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlNone
off
+off
off
on
BlockPathComment
@@ -938,7 +1521,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xml[]
error
off
off
+ +off
off
off
off
@@ -1047,7 +1633,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xml[]
Simulink Coverage Configuration Component
[]
@@ -1085,7 +1671,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlMasking
off
[]
HDL Coder custom configuration component
[]
@@ -1095,17 +1681,17 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xml0
[]
Simscape Multibody
[]
Diagnostics
[]
@@ -1120,13 +1706,16 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmlwarning
error
[]
Explorer
[]
ExplorerConfigSet
on
+none
+smplaybacklog
+30
SimscapeMultibody
@@ -1149,6 +1738,7 @@ __MWOPC_PART_BEGIN__ /simulink/configSet0.xmloff
off
+off
on
0
-0
- -0
-8
-Target Speed
-$bdroot/Constant Target Speed
-1
-5000
-2
-Load Torque
-$bdroot/Step Load Torque
-1
-5000
-2
-PMSM Phase Voltages
-$bdroot/Motor Drive/Filter
-1
-5000
-2
-PMSM Phase Currents
-$bdroot/Motor Drive/PS-Simulink Converter
-1
-5000
-2
-Motor Torque
-$bdroot/Motor Drive/Encoder/PS-S1
-1
-5000
-2
-Motor Speed
-$bdroot/Motor Drive/Encoder/PS-S2
-1
-5000
-2
-FOC_TrqRef_Nm
-$bdroot/Motor Drive/PMSM Controller/Signal Specification2
-1
-5000
-2
-<motorSpd>
-$bdroot/Scope/Bus Selector
-1
-5000
-2
-0
-0
-0
-0
-0
-0
-Unset
-0
-VariableStepAuto
-0
-Simulink
-0
-41
-fl_lib/Electrical/Electrical Elements/Electrical Reference
-$bdroot/Electrical Reference2
-548
-LIBRARY_BLOCK
-ee_lib/Sources/Voltage Source
-$bdroot/High Voltage Source/DC Bus
-666
-LIBRARY_BLOCK
-fl_lib/Mechanical/Rotational Elements/Inertia
-$bdroot/Load inertia
-771
-LIBRARY_BLOCK
-fl_lib/Mechanical/Rotational Elements/Mechanical -Rotational Reference
-$bdroot/Mechanical Rotational Reference4
-921
-LIBRARY_BLOCK
-ee_lib/Sensors & -Transducers/Current Sensor -(Three-Phase)
-$bdroot/Motor Drive/Current Sensor (Three-Phase)
-1152
-LIBRARY_BLOCK
-fl_lib/Electrical/Electrical Elements/Electrical Reference
-$bdroot/Motor Drive/Electrical Reference
-1153
-LIBRARY_BLOCK
-fl_lib/Mechanical/Rotational Elements/Mechanical -Rotational Reference
-$bdroot/Motor Drive/Encoder/Mechanical Rotational Reference3
-1155
-LIBRARY_BLOCK
-nesl_utility/PS-Simulink -Converter
-$bdroot/Motor Drive/Encoder/PS-S1
-1156
-LIBRARY_BLOCK
-nesl_utility/PS-Simulink -Converter
-$bdroot/Motor Drive/Encoder/PS-S2
-1157
-LIBRARY_BLOCK
-nesl_utility/PS-Simulink -Converter
-$bdroot/Motor Drive/Encoder/PS-Simulink Converter1
-1158
-LIBRARY_BLOCK
-fl_lib/Mechanical/Mechanical Sensors/Ideal Rotational -Motion Sensor
-$bdroot/Motor Drive/Encoder/Rotational Motion Sensor
-1159
-LIBRARY_BLOCK
-fl_lib/Mechanical/Mechanical Sensors/Ideal Torque Sensor
-$bdroot/Motor Drive/Encoder/Torque Sensor
-1161
-LIBRARY_BLOCK
-ee_lib/Electromechanical/Permanent Magnet/FEM-Parameterized -PMSM
-$bdroot/Motor Drive/FEM-Parameterized PMSM
-1238
-LIBRARY_BLOCK
-spsFirstOrderFilterLib/First-Order -Filter
-$bdroot/Motor Drive/Filter/Time const2: 1e-5
-1168
-LIBRARY_BLOCK
-spsFirstOrderFilterLib/First-Order -Filter
-$bdroot/Motor Drive/Filter/Time const: 1e-4
-1169
-LIBRARY_BLOCK
-spsFirstOrderFilterLib/First-Order -Filter
-$bdroot/Motor Drive/Filter/Time const: 1e-5
-1170
-LIBRARY_BLOCK
-spsFirstOrderFilterLib/First-Order -Filter
-$bdroot/Motor Drive/Filter/Time const: 5e-4
-1171
-LIBRARY_BLOCK
-ee_lib/Sensors & -Transducers/Line Voltage Sensor -(Three-Phase)
-$bdroot/Motor Drive/Line Voltage Sensor (Three-Phase)
-1173
-LIBRARY_BLOCK
-fl_lib/Mechanical/Rotational Elements/Mechanical -Rotational Reference
-$bdroot/Motor Drive/Mechanical Rotational Reference1
-1174
-LIBRARY_BLOCK
-eePmsmFieldOrientedControl/PMSM Field-Oriented -Control
-$bdroot/Motor Drive/PMSM Controller/PMSM Field-Oriented Control
-1189
-LIBRARY_BLOCK
-nesl_utility/PS-Simulink -Converter
-$bdroot/Motor Drive/PS-Simulink Converter
-1206
-LIBRARY_BLOCK
-nesl_utility/PS-Simulink -Converter
-$bdroot/Motor Drive/PS-Simulink Converter1
-1207
-LIBRARY_BLOCK
-nesl_utility/PS-Simulink -Converter
-$bdroot/Motor Drive/PS-Simulink Converter2
-1208
-LIBRARY_BLOCK
-ee_lib/Connectors & -References/Phase Splitter
-$bdroot/Motor Drive/Phase Splitter
-1209
-LIBRARY_BLOCK
-ee_lib/Semiconductors & -Converters/IGBT -(Ideal, -Switching)
-$bdroot/Motor Drive/Three-phase Inverter/IGBT A(H)
-1215
-LIBRARY_BLOCK
-ee_lib/Semiconductors & -Converters/IGBT -(Ideal, -Switching)
-$bdroot/Motor Drive/Three-phase Inverter/IGBT A(L)
-1216
-LIBRARY_BLOCK
-ee_lib/Semiconductors & -Converters/IGBT -(Ideal, -Switching)
-$bdroot/Motor Drive/Three-phase Inverter/IGBT B(H)
-1217
-LIBRARY_BLOCK
-ee_lib/Semiconductors & -Converters/IGBT -(Ideal, -Switching)
-$bdroot/Motor Drive/Three-phase Inverter/IGBT B(L)
-1218
-LIBRARY_BLOCK
-ee_lib/Semiconductors & -Converters/IGBT -(Ideal, -Switching)
-$bdroot/Motor Drive/Three-phase Inverter/IGBT C(H)
-1219
-LIBRARY_BLOCK
-ee_lib/Semiconductors & -Converters/IGBT -(Ideal, -Switching)
-$bdroot/Motor Drive/Three-phase Inverter/IGBT C(L)
-1220
-LIBRARY_BLOCK
-ee_lib/Connectors & -References/Phase Splitter
-$bdroot/Motor Drive/Three-phase Inverter/Phase Splitter
-1221
-LIBRARY_BLOCK
-nesl_utility/Simulink-PS -Converter
-$bdroot/Motor Drive/Three-phase Inverter/Simulink-PS G1
-1222
-LIBRARY_BLOCK
-nesl_utility/Simulink-PS -Converter
-$bdroot/Motor Drive/Three-phase Inverter/Simulink-PS G2
-1223
-LIBRARY_BLOCK
-nesl_utility/Simulink-PS -Converter
-$bdroot/Motor Drive/Three-phase Inverter/Simulink-PS G3
-1224
-LIBRARY_BLOCK
-nesl_utility/Simulink-PS -Converter
-$bdroot/Motor Drive/Three-phase Inverter/Simulink-PS G4
-1225
-LIBRARY_BLOCK
-nesl_utility/Simulink-PS -Converter
-$bdroot/Motor Drive/Three-phase Inverter/Simulink-PS G5
-1226
-LIBRARY_BLOCK
-nesl_utility/Simulink-PS -Converter
-$bdroot/Motor Drive/Three-phase Inverter/Simulink-PS G6
-1227
-LIBRARY_BLOCK
-fl_lib/Electrical/Electrical Sensors/Voltage Sensor
-$bdroot/Motor Drive/Voltage Sensor
-1232
-LIBRARY_BLOCK
-nesl_utility/Simulink-PS -Converter
-$bdroot/Simulink-PS Converter1
-922
-LIBRARY_BLOCK
-nesl_utility/Solver -Configuration
-$bdroot/Solver Configuration1
-608
-LIBRARY_BLOCK
-fl_lib/Mechanical/Mechanical Sources/Ideal Torque Source
-$bdroot/Torque Source
-920
-LIBRARY_BLOCK
-0
-80000068
+82450000
[1628800410 2360362788 920756369 2486974428]
on
left
%<dc_voltage> (%<dc_voltage_unit>)
-23002000.3
+24002000.3
ee_lib/Sources/Voltage Source
Voltage Source
off
+off
+ee.sources.voltage_source
{"Bottom":[],"Left":[{"id":"p","label":"+","type":"foundation.electrical.electrical"}],"Right":[{"id":"n","label":"-","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -1795,15 +2328,15 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1138.xml0
A
off
-A
1
+A
off
None
0
V
off
-V
1
+V
[11, 13, 1346, 710]
0
-{"entries":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":null,"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":{"content":{"attrsOfChildren":[{"type":"treeNode.ChildAttributes","uuid":"245d2240-6daf-4e91-b648-cec6abe162da"},{"type":"treeNode.ChildAttributes","uuid":"2e490682-e044-493f-b567-432170570075"}],"children":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"8a526d9e-15f5-4fbd-8617-e0387a53f013"},"indexOne":1,"name":"motorSpd"},"type":"treeNode.ChildAttributes","uuid":"245d2240-6daf-4e91-b648-cec6abe162da"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rpm"},"type":"treeNode.SignalAttributes","uuid":"5d556084-665c-4e85-9775-6350bfae756b"}},"type":"treeNode.TreeNode","uuid":"7ab7160c-92b7-4584-b6d5-808c041bcd7e"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"8a526d9e-15f5-4fbd-8617-e0387a53f013"},"indexOne":2,"name":"motorTrq"},"type":"treeNode.ChildAttributes","uuid":"2e490682-e044-493f-b567-432170570075"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"N*m"},"type":"treeNode.SignalAttributes","uuid":"75ab9051-a980-4177-8842-adf55fddeada"}},"type":"treeNode.TreeNode","uuid":"42d34428-cd35-4fc4-a815-cceec57dbb2f"}]},"type":"treeNode.ParentAttributes","uuid":"8a526d9e-15f5-4fbd-8617-e0387a53f013"},"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"8c5bd320-5e82-44cf-a008-7a2ba2608083"}],"packageUris":["http://schema.mathworks.com/mf0/mm_tree_node_datamodel/R2018b"],"version":"1.0"}
-{"port-tree":{"bep-out":{"1":"8c5bd320-5e82-44cf-a008-7a2ba2608083"}}}
+{"entries":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":null,"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":{"content":{"attrsOfChildren":[{"type":"treeNode.ChildAttributes","uuid":"e1e60e75-d2e7-4faa-96c6-6b52d542e263"},{"type":"treeNode.ChildAttributes","uuid":"099f7abd-3233-4ea0-a87b-35a2e5bd76b5"}],"children":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"2c7a63c5-001d-41a6-88ba-5a5028a008a9"},"indexOne":1,"name":"motorSpd"},"type":"treeNode.ChildAttributes","uuid":"e1e60e75-d2e7-4faa-96c6-6b52d542e263"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rpm"},"type":"treeNode.SignalAttributes","uuid":"5b9b5d61-1f98-4adb-b956-8e84d9a43ca9"}},"type":"treeNode.TreeNode","uuid":"2bda0a5d-a963-4ce7-a36e-4e9579049098"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"2c7a63c5-001d-41a6-88ba-5a5028a008a9"},"indexOne":2,"name":"motorTrq"},"type":"treeNode.ChildAttributes","uuid":"099f7abd-3233-4ea0-a87b-35a2e5bd76b5"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"N*m"},"type":"treeNode.SignalAttributes","uuid":"9e21f660-911b-4baf-996d-1329f593a16b"}},"type":"treeNode.TreeNode","uuid":"5a00b0a0-9476-49fe-8158-386352ef48c8"}]},"type":"treeNode.ParentAttributes","uuid":"2c7a63c5-001d-41a6-88ba-5a5028a008a9"},"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"5625c007-3e4f-4f73-b40a-1ae2cc99bdcc"}],"packageUris":["http://schema.mathworks.com/mf0/mm_tree_node_datamodel/R2018b"],"version":"1.0"}
+{"port-tree":{"bep-out":{"1":"5625c007-3e4f-4f73-b40a-1ae2cc99bdcc"}}}
[85, 73, 115, 87]
@@ -1886,7 +2419,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1147.xml[450, 215, 530, 295]
4442
off
-23002000.3
+24002000.3
ee_lib/Sensors & Transducers/Current Sensor (Three-Phase)
@@ -1894,6 +2427,8 @@ Transducers/Current Sensor (Three-Phase)off
+off
+ee.sensors.current.abc
{"Bottom":[],"Left":[{"id":"N1","label":"~1","type":"foundation.electrical.three_phase"}],"Right":[{"id":"I_output","label":"I","type":"output"},{"id":"N2","label":"~2","type":"foundation.electrical.three_phase"}],"Top":[]}
off
@@ -1909,11 +2444,13 @@ Transducers/Current Sensor[145, 125, 165, 145]
4455
on
-23002000.2
+24002000.1
fl_lib/Electrical/Electrical Elements/Electrical Reference
Electrical Reference
off
+off
+foundation.electrical.elements.reference
{"Bottom":[],"Left":[{"id":"V","label":"","type":"foundation.electrical.electrical"}],"Right":[],"Top":[]}
off
@@ -1941,13 +2478,15 @@ Transducers/Current Sensor[685, 228, 790, 322]
7186
off
-23002000.3
+24002000.3
ee_lib/Electromechanical/Permanent Magnet/FEM-Parameterized PMSM
FEM-Parameterized PMSM
on
+off
+ee.electromech.pmsm.fem_motor.fem_motor_dq0
{"Bottom":[],"Left":[{"id":"a","label":"a","type":"foundation.electrical.electrical"},{"id":"b","label":"b","type":"foundation.electrical.electrical"},{"id":"c","label":"c","type":"foundation.electrical.electrical"}],"Right":[{"id":"R","label":"R","type":"foundation.mechanical.rotational.rotational"},{"id":"C","label":"C","type":"foundation.mechanical.rotational.rotational"}],"Top":[]}
off
@@ -1995,12 +2534,12 @@ PMSM0.1 * ones(3, 3)
Wb
compiletime
-6
-1
-compiletime
simscape.enum.interpolation.linear
1
compiletime
+6
+1
+compiletime
PmsmFem.Rs_Ohm
Ohm
compiletime
@@ -2036,45 +2575,45 @@ PMSMPmsmFem.initialDAxisCurrent_A
A
off
-A
1
+A
on
High
PmsmFem.initialQAxisCurrent_A
A
off
-A
1
+A
off
None
0
N*m
off
-N*m
1
+N*m
on
None
0
rpm
off
-rpm
1
+rpm
on
High
PmsmFem.initialRotorAngle_rad
rad
off
-deg
1
-298.15
-K
-compiletime
+deg
3.93e-3
1/K
compiletime
-0.001
1/K
compiletime
+298.15
+K
+compiletime
100
J/K
compiletime
@@ -2231,12 +2770,12 @@ PMSMzeros(3, 3, 2)
W
compiletime
-zeros(3, 5, 2)
-W
-compiletime
zeros(3, 3, 2)
W
compiletime
+zeros(3, 5, 2)
+W
+compiletime
zeros(3, 5, 2)
W
compiletime
@@ -2245,22 +2784,22 @@ PMSM0
N*m
off
-N*m
1
+N*m
off
None
0
J/s
off
-J/s
1
+J/s
off
None
0
J/s
off
-J/s
1
+J/s
on
right
off
-23002000.3
+24002000.3
ee_lib/Sensors & Transducers/Line Voltage Sensor (Three-Phase)
@@ -2291,6 +2830,8 @@ Transducers/Line Voltage Sensor (Three-Phase)off
+off
+ee.sensors.voltage.line.abc
{"Bottom":[],"Left":[{"id":"N","label":"~","type":"foundation.electrical.three_phase"}],"Right":[{"id":"V_output","label":"V","type":"output"}],"Top":[]}
off
@@ -2309,13 +2850,15 @@ Transducers/Line Voltage Sensoron
right
off
-23002000.2
+24002000.1
fl_lib/Mechanical/Rotational Elements/Mechanical Rotational Reference
Mechanical Rotational Reference
off
+off
+foundation.mechanical.rotational.reference
{"Bottom":[],"Left":[{"id":"W","label":"","type":"foundation.mechanical.rotational.rotational"}],"Right":[],"Top":[]}
off
@@ -2436,12 +2979,14 @@ Converter[590, 231, 625, 319]
4437
off
-23002000.3
+24002000.3
ee_lib/Connectors & References/Phase Splitter
Phase Splitter
off
+off
+ee.connectors.phase_splitter.abc
{"Bottom":[],"Left":[{"id":"N","label":"~","type":"foundation.electrical.three_phase"}],"Right":[{"id":"a","label":"a","type":"foundation.electrical.electrical"},{"id":"b","label":"b","type":"foundation.electrical.electrical"},{"id":"c","label":"c","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -2485,11 +3030,13 @@ References/Phase Splitteron
left
off
-23002000.2
+24002000.1
fl_lib/Electrical/Electrical Sensors/Voltage Sensor
Voltage Sensor
off
+off
+foundation.electrical.sensors.voltage
{"Bottom":[],"Left":[{"id":"p","label":"+","type":"foundation.electrical.electrical"}],"Right":[{"id":"V","label":"V","type":"output"},{"id":"n","label":"-","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -2716,8 +3263,8 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1154.xml[1247, 805, 2582, 1502]
0
-{"entries":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":null,"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":{"content":{"attrsOfChildren":[{"type":"treeNode.ChildAttributes","uuid":"56f03077-3a2f-4d6d-be61-c9538fe7184c"},{"type":"treeNode.ChildAttributes","uuid":"2b94a67d-9e15-4260-927c-d499bdf8e675"}],"children":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"6232bc63-aab6-4e20-8fd8-e6d89c44a887"},"indexOne":1,"name":"w"},"type":"treeNode.ChildAttributes","uuid":"56f03077-3a2f-4d6d-be61-c9538fe7184c"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rad/s"},"type":"treeNode.SignalAttributes","uuid":"55e2cec9-ed9d-4b71-bc88-5e590102b748"}},"type":"treeNode.TreeNode","uuid":"ea849248-dbbe-4e4e-a3ba-8894835a4b8e"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"6232bc63-aab6-4e20-8fd8-e6d89c44a887"},"indexOne":2,"name":"a"},"type":"treeNode.ChildAttributes","uuid":"2b94a67d-9e15-4260-927c-d499bdf8e675"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rad"},"type":"treeNode.SignalAttributes","uuid":"3bb32486-f78f-47a3-a3ae-ba7c4c399377"}},"type":"treeNode.TreeNode","uuid":"a03800e5-a089-47bd-9591-02ebdeffb70e"}]},"type":"treeNode.ParentAttributes","uuid":"6232bc63-aab6-4e20-8fd8-e6d89c44a887"},"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"e7191c6b-518f-4d40-92e0-fbb03adc8841"}],"packageUris":["http://schema.mathworks.com/mf0/mm_tree_node_datamodel/R2018b"],"version":"1.0"}
-{"port-tree":{"bep-out":{"1":"e7191c6b-518f-4d40-92e0-fbb03adc8841"}}}
+{"entries":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":null,"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":{"content":{"attrsOfChildren":[{"type":"treeNode.ChildAttributes","uuid":"3f456ad1-7620-416d-aa29-40b819cb3207"},{"type":"treeNode.ChildAttributes","uuid":"08fe6839-2567-4ddb-af5b-f1726c7c2d9e"}],"children":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"39ccb16c-a1b3-4276-8960-b017880edf04"},"indexOne":1,"name":"w"},"type":"treeNode.ChildAttributes","uuid":"3f456ad1-7620-416d-aa29-40b819cb3207"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rad/s"},"type":"treeNode.SignalAttributes","uuid":"0f1a7306-c590-4b0d-a041-a3e29dbbb033"}},"type":"treeNode.TreeNode","uuid":"fa934e02-dcb1-418b-8160-fb6bfecc21bb"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"39ccb16c-a1b3-4276-8960-b017880edf04"},"indexOne":2,"name":"a"},"type":"treeNode.ChildAttributes","uuid":"08fe6839-2567-4ddb-af5b-f1726c7c2d9e"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rad"},"type":"treeNode.SignalAttributes","uuid":"30c1a0e0-0ff2-4cc8-b380-a5c05747e9af"}},"type":"treeNode.TreeNode","uuid":"f4cbc449-13bb-42e6-aaca-f3b8f65ba835"}]},"type":"treeNode.ParentAttributes","uuid":"39ccb16c-a1b3-4276-8960-b017880edf04"},"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"daadc2b0-3d0e-49d4-877e-6aa562455860"}],"packageUris":["http://schema.mathworks.com/mf0/mm_tree_node_datamodel/R2018b"],"version":"1.0"}
+{"port-tree":{"bep-out":{"1":"daadc2b0-3d0e-49d4-877e-6aa562455860"}}}
on
right
off
-23002000.2
+24002000.1
fl_lib/Mechanical/Rotational Elements/Mechanical Rotational Reference
Mechanical Rotational Reference
off
+off
+foundation.mechanical.rotational.reference
{"Bottom":[],"Left":[{"id":"W","label":"","type":"foundation.mechanical.rotational.rotational"}],"Right":[],"Top":[]}
off
@@ -2853,13 +3402,15 @@ Converter180
on
off
-23002000.2
+24002000.1
fl_lib/Mechanical/Mechanical Sensors/Ideal Rotational Motion Sensor
Ideal Rotational Motion Sensor
on
+off
+foundation.mechanical.sensors.angular_velocity
{"Bottom":[],"Left":[{"id":"R","label":"R","type":"foundation.mechanical.rotational.rotational"}],"Right":[{"id":"C","label":"C","type":"foundation.mechanical.rotational.rotational"},{"id":"W","label":"W","type":"output"},{"id":"A","label":"A","type":"output"}],"Top":[]}
off
@@ -2895,11 +3446,13 @@ Motion Sensor180
on
off
-23002000.2
+24002000.1
fl_lib/Mechanical/Mechanical Sensors/Ideal Torque Sensor
Ideal Torque Sensor
on
+off
+foundation.mechanical.sensors.torque
{"Bottom":[],"Left":[{"id":"R","label":"R","type":"foundation.mechanical.rotational.rotational"}],"Right":[{"id":"C","label":"C","type":"foundation.mechanical.rotational.rotational"},{"id":"T","label":"T","type":"output"}],"Top":[]}
off
@@ -3033,7 +3586,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1166.xml[300, 17, 350, 53]
4416
-6.0
+8.1
spsFirstOrderFilterLib/First-Order Filter
First-Order Filter
@@ -3058,7 +3611,7 @@ Filter[150, 17, 200, 53]
4415
-6.0
+8.1
spsFirstOrderFilterLib/First-Order Filter
First-Order Filter
@@ -3083,7 +3636,7 @@ Filter[75, 17, 125, 53]
4413
-6.0
+8.1
spsFirstOrderFilterLib/First-Order Filter
First-Order Filter
@@ -3108,7 +3661,7 @@ Filter[225, 17, 275, 53]
4414
-6.0
+8.1
spsFirstOrderFilterLib/First-Order Filter
First-Order Filter
@@ -3167,8 +3720,8 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1182.xml[47, 458, 1382, 1155]
0
-{"entries":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":null,"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":{"content":{"attrsOfChildren":[{"type":"treeNode.ChildAttributes","uuid":"b13a4d97-a420-4b5a-9266-a68fb5eb4e4f"},{"type":"treeNode.ChildAttributes","uuid":"16fa3ed8-5434-4350-b50e-8c2332140245"}],"children":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"3a5da89c-07df-4533-9c7b-428ea2efdf59"},"indexOne":1,"name":"w"},"type":"treeNode.ChildAttributes","uuid":"b13a4d97-a420-4b5a-9266-a68fb5eb4e4f"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rad/s"},"type":"treeNode.SignalAttributes","uuid":"57f5c31a-8735-4082-bb2c-54ac6af6c0f6"}},"type":"treeNode.TreeNode","uuid":"f9710db9-b693-4997-b5f8-2ab1e2ff73b4"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"3a5da89c-07df-4533-9c7b-428ea2efdf59"},"indexOne":2,"name":"a"},"type":"treeNode.ChildAttributes","uuid":"16fa3ed8-5434-4350-b50e-8c2332140245"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rad"},"type":"treeNode.SignalAttributes","uuid":"2a9ab866-2f88-4560-a57d-29acbc0b3483"}},"type":"treeNode.TreeNode","uuid":"0346690d-d8da-481e-a2dc-aa286906591d"}]},"type":"treeNode.ParentAttributes","uuid":"3a5da89c-07df-4533-9c7b-428ea2efdf59"},"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"f0b3615e-56f0-456d-835b-f87d3a20309a"}],"packageUris":["http://schema.mathworks.com/mf0/mm_tree_node_datamodel/R2018b"],"version":"1.0"}
-{"port-tree":{"bep-in":{"1":"f0b3615e-56f0-456d-835b-f87d3a20309a"}}}
+{"entries":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":null,"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":{"content":{"attrsOfChildren":[{"type":"treeNode.ChildAttributes","uuid":"7015f79d-33a4-4adc-956c-2fe4f2409a1b"},{"type":"treeNode.ChildAttributes","uuid":"7e01863b-6681-4115-b5b3-8f0af00ec2dd"}],"children":[{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"5b965cca-210f-4a8d-a3ef-bb6dd41f97e8"},"indexOne":1,"name":"w"},"type":"treeNode.ChildAttributes","uuid":"7015f79d-33a4-4adc-956c-2fe4f2409a1b"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rad/s"},"type":"treeNode.SignalAttributes","uuid":"0d36bd0e-1707-4d75-87ff-72db78c8f9e1"}},"type":"treeNode.TreeNode","uuid":"ef094e91-0ee7-45c9-b96b-8e16938f6bc3"},{"content":{"blockAttrs":null,"busTypeElementAttrs":null,"busTypeRootAttrs":null,"childAttrs":{"content":{"attrsOfParent":{"type":"treeNode.ParentAttributes","uuid":"5b965cca-210f-4a8d-a3ef-bb6dd41f97e8"},"indexOne":2,"name":"a"},"type":"treeNode.ChildAttributes","uuid":"7e01863b-6681-4115-b5b3-8f0af00ec2dd"},"inheritedParentAttrs":null,"msgQueueAttrs":null,"parentAttrs":null,"platformAttrs":null,"propAttrs":null,"signalAttrs":{"content":{"unit":"rad"},"type":"treeNode.SignalAttributes","uuid":"36f24c8c-6fe0-4d41-8c84-117af64f41d7"}},"type":"treeNode.TreeNode","uuid":"2f77d003-9244-4f29-9650-3a47872af1c2"}]},"type":"treeNode.ParentAttributes","uuid":"5b965cca-210f-4a8d-a3ef-bb6dd41f97e8"},"platformAttrs":null,"propAttrs":null,"signalAttrs":null},"type":"treeNode.TreeNode","uuid":"2acfdbae-1245-4468-afe0-2c4a34f505f6"}],"packageUris":["http://schema.mathworks.com/mf0/mm_tree_node_datamodel/R2018b"],"version":"1.0"}
+{"port-tree":{"bep-in":{"1":"2acfdbae-1245-4468-afe0-2c4a34f505f6"}}}
[-140, 65, -130, 75]
@@ -3251,7 +3804,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1182.xml[280, -133, 385, 273]
4573
off
-7.1
+9.0
eePmsmFieldOrientedControl/PMSM Field-Oriented Control
PMSM Field-Oriented Control
@@ -3566,7 +4119,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1212.xml[50, -45, 80, 15]
36
-23002000.3
+24002000.3
ee_lib/Semiconductors & Converters/IGBT (Ideal, @@ -3576,6 +4129,8 @@ Switching)
Switching)off
+off
+ee.semiconductors.ideal.igbt
{"Bottom":[],"Left":[{"id":"G","label":"","type":"input"}],"Right":[{"id":"C","label":"","type":"foundation.electrical.electrical"},{"id":"E","label":"","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -3640,22 +4195,22 @@ Switching)0
A
off
-A
1
+A
off
None
0
V
off
-V
1
+V
off
None
0
V
off
-V
1
+V
ee.enum.converters.thermalLossOption.constantvalues
1
compiletime
@@ -3716,6 +4271,9 @@ Switching)ee.enum.diode.tableType.IfMat
1
compiletime
+ee.enum.diode.diodeReverseIV.constant
+1
+compiletime
[.07, .12, .19, 1.75, 4.24, 7.32, 11.2; .16, .3, .72, 2.14, 4.02, 6.35, 9.12]
A
compiletime
@@ -3731,6 +4289,18 @@ Switching)[.1, .2, .5, 1, 2, 4, 7, 10]
A
compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2.5e-05, 5e-05, .0001; 2e-06, 5e-06, 1e-05, 4e-05, 8e-05, .0002, .0005]
+A
+compiletime
+[10, 100, 200, 250, 300, 325, 350; 10, 70, 160, 220, 270, 300, 320]
+V
+compiletime
+[10, 20, 40, 50, 70, 80, 100]
+V
+compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2e-05, 5e-05, .0001]
+A
+compiletime
-600
V
compiletime
@@ -3767,6 +4337,9 @@ Switching)1 / 1000 / 100
s
compiletime
+false
+1
+compiletime
ee.enum.thermalNetworkTopology.external
1
compiletime
@@ -3812,23 +4385,69 @@ Switching)[25, 25, 25, 25]
degC
compiletime
+[.03, .2]
+K/W
+compiletime
+[.03, .1, .2]
+K/W
+compiletime
+[.03, .2]
+K/W
+compiletime
+[3, 25]
+J/K
+compiletime
+[3, 10, 25]
+J/K
+compiletime
+[33, 50]
+J/K
+compiletime
+[.1, 5]
+s
+compiletime
+[.1, 1, 5]
+s
+compiletime
+[1, 10]
+s
+compiletime
+[25, 25]
+degC
+compiletime
+[25, 25, 25]
+degC
+compiletime
+0.1
+J/K
+compiletime
+[25, 25, 25, 25]
+degC
+compiletime
0
1
compiletime
-off
-None
-25
-degC
-off
-degC
-1
+off
+None
+25
+degC
+off
+1
+degC
+off
+None
+25
+degC
+off
+1
+degC
off
None
0
W
off
-W
1
+W
off
None
0
@@ -3839,7 +4458,7 @@ Switching)[50, 80, 80, 140]
37
-23002000.3
+24002000.3
ee_lib/Semiconductors & Converters/IGBT (Ideal, @@ -3849,6 +4468,8 @@ Switching)
Switching)off
+off
+ee.semiconductors.ideal.igbt
{"Bottom":[],"Left":[{"id":"G","label":"","type":"input"}],"Right":[{"id":"C","label":"","type":"foundation.electrical.electrical"},{"id":"E","label":"","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -3913,22 +4534,22 @@ Switching)0
A
off
-A
1
+A
off
None
0
V
off
-V
1
+V
off
None
0
V
off
-V
1
+V
ee.enum.converters.thermalLossOption.constantvalues
1
compiletime
@@ -3989,6 +4610,9 @@ Switching)ee.enum.diode.tableType.IfMat
1
compiletime
+ee.enum.diode.diodeReverseIV.constant
+1
+compiletime
[.07, .12, .19, 1.75, 4.24, 7.32, 11.2; .16, .3, .72, 2.14, 4.02, 6.35, 9.12]
A
compiletime
@@ -4004,6 +4628,18 @@ Switching)[.1, .2, .5, 1, 2, 4, 7, 10]
A
compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2.5e-05, 5e-05, .0001; 2e-06, 5e-06, 1e-05, 4e-05, 8e-05, .0002, .0005]
+A
+compiletime
+[10, 100, 200, 250, 300, 325, 350; 10, 70, 160, 220, 270, 300, 320]
+V
+compiletime
+[10, 20, 40, 50, 70, 80, 100]
+V
+compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2e-05, 5e-05, .0001]
+A
+compiletime
-600
V
compiletime
@@ -4040,6 +4676,9 @@ Switching)1 / 1000 / 100
s
compiletime
+false
+1
+compiletime
ee.enum.thermalNetworkTopology.external
1
compiletime
@@ -4085,23 +4724,69 @@ Switching)[25, 25, 25, 25]
degC
compiletime
+[.03, .2]
+K/W
+compiletime
+[.03, .1, .2]
+K/W
+compiletime
+[.03, .2]
+K/W
+compiletime
+[3, 25]
+J/K
+compiletime
+[3, 10, 25]
+J/K
+compiletime
+[33, 50]
+J/K
+compiletime
+[.1, 5]
+s
+compiletime
+[.1, 1, 5]
+s
+compiletime
+[1, 10]
+s
+compiletime
+[25, 25]
+degC
+compiletime
+[25, 25, 25]
+degC
+compiletime
+0.1
+J/K
+compiletime
+[25, 25, 25, 25]
+degC
+compiletime
0
1
compiletime
-off
-None
-25
-degC
-off
-degC
-1
+off
+None
+25
+degC
+off
+1
+degC
+off
+None
+25
+degC
+off
+1
+degC
off
None
0
W
off
-W
1
+W
off
None
0
@@ -4112,7 +4797,7 @@ Switching)[215, -50, 245, 10]
38
-23002000.3
+24002000.3
ee_lib/Semiconductors & Converters/IGBT (Ideal, @@ -4122,6 +4807,8 @@ Switching)
Switching)off
+off
+ee.semiconductors.ideal.igbt
{"Bottom":[],"Left":[{"id":"G","label":"","type":"input"}],"Right":[{"id":"C","label":"","type":"foundation.electrical.electrical"},{"id":"E","label":"","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -4186,22 +4873,22 @@ Switching)0
A
off
-A
1
+A
off
None
0
V
off
-V
1
+V
off
None
0
V
off
-V
1
+V
ee.enum.converters.thermalLossOption.constantvalues
1
compiletime
@@ -4262,6 +4949,9 @@ Switching)ee.enum.diode.tableType.IfMat
1
compiletime
+ee.enum.diode.diodeReverseIV.constant
+1
+compiletime
[.07, .12, .19, 1.75, 4.24, 7.32, 11.2; .16, .3, .72, 2.14, 4.02, 6.35, 9.12]
A
compiletime
@@ -4277,6 +4967,18 @@ Switching)[.1, .2, .5, 1, 2, 4, 7, 10]
A
compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2.5e-05, 5e-05, .0001; 2e-06, 5e-06, 1e-05, 4e-05, 8e-05, .0002, .0005]
+A
+compiletime
+[10, 100, 200, 250, 300, 325, 350; 10, 70, 160, 220, 270, 300, 320]
+V
+compiletime
+[10, 20, 40, 50, 70, 80, 100]
+V
+compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2e-05, 5e-05, .0001]
+A
+compiletime
-600
V
compiletime
@@ -4313,6 +5015,9 @@ Switching)1 / 1000 / 100
s
compiletime
+false
+1
+compiletime
ee.enum.thermalNetworkTopology.external
1
compiletime
@@ -4358,23 +5063,69 @@ Switching)[25, 25, 25, 25]
degC
compiletime
+[.03, .2]
+K/W
+compiletime
+[.03, .1, .2]
+K/W
+compiletime
+[.03, .2]
+K/W
+compiletime
+[3, 25]
+J/K
+compiletime
+[3, 10, 25]
+J/K
+compiletime
+[33, 50]
+J/K
+compiletime
+[.1, 5]
+s
+compiletime
+[.1, 1, 5]
+s
+compiletime
+[1, 10]
+s
+compiletime
+[25, 25]
+degC
+compiletime
+[25, 25, 25]
+degC
+compiletime
+0.1
+J/K
+compiletime
+[25, 25, 25, 25]
+degC
+compiletime
0
1
compiletime
-off
-None
-25
-degC
-off
-degC
-1
+off
+None
+25
+degC
+off
+1
+degC
+off
+None
+25
+degC
+off
+1
+degC
off
None
0
W
off
-W
1
+W
off
None
0
@@ -4385,7 +5136,7 @@ Switching)[215, 80, 245, 140]
39
-23002000.3
+24002000.3
ee_lib/Semiconductors & Converters/IGBT (Ideal, @@ -4395,6 +5146,8 @@ Switching)
Switching)off
+off
+ee.semiconductors.ideal.igbt
{"Bottom":[],"Left":[{"id":"G","label":"","type":"input"}],"Right":[{"id":"C","label":"","type":"foundation.electrical.electrical"},{"id":"E","label":"","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -4459,22 +5212,22 @@ Switching)0
A
off
-A
1
+A
off
None
0
V
off
-V
1
+V
off
None
0
V
off
-V
1
+V
ee.enum.converters.thermalLossOption.constantvalues
1
compiletime
@@ -4535,6 +5288,9 @@ Switching)ee.enum.diode.tableType.IfMat
1
compiletime
+ee.enum.diode.diodeReverseIV.constant
+1
+compiletime
[.07, .12, .19, 1.75, 4.24, 7.32, 11.2; .16, .3, .72, 2.14, 4.02, 6.35, 9.12]
A
compiletime
@@ -4550,6 +5306,18 @@ Switching)[.1, .2, .5, 1, 2, 4, 7, 10]
A
compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2.5e-05, 5e-05, .0001; 2e-06, 5e-06, 1e-05, 4e-05, 8e-05, .0002, .0005]
+A
+compiletime
+[10, 100, 200, 250, 300, 325, 350; 10, 70, 160, 220, 270, 300, 320]
+V
+compiletime
+[10, 20, 40, 50, 70, 80, 100]
+V
+compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2e-05, 5e-05, .0001]
+A
+compiletime
-600
V
compiletime
@@ -4586,6 +5354,9 @@ Switching)1 / 1000 / 100
s
compiletime
+false
+1
+compiletime
ee.enum.thermalNetworkTopology.external
1
compiletime
@@ -4631,23 +5402,69 @@ Switching)[25, 25, 25, 25]
degC
compiletime
+[.03, .2]
+K/W
+compiletime
+[.03, .1, .2]
+K/W
+compiletime
+[.03, .2]
+K/W
+compiletime
+[3, 25]
+J/K
+compiletime
+[3, 10, 25]
+J/K
+compiletime
+[33, 50]
+J/K
+compiletime
+[.1, 5]
+s
+compiletime
+[.1, 1, 5]
+s
+compiletime
+[1, 10]
+s
+compiletime
+[25, 25]
+degC
+compiletime
+[25, 25, 25]
+degC
+compiletime
+0.1
+J/K
+compiletime
+[25, 25, 25, 25]
+degC
+compiletime
0
1
compiletime
-off
-None
-25
-degC
-off
-degC
-1
+off
+None
+25
+degC
+off
+1
+degC
+off
+None
+25
+degC
+off
+1
+degC
off
None
0
W
off
-W
1
+W
off
None
0
@@ -4658,7 +5475,7 @@ Switching)[380, -50, 410, 10]
40
-23002000.3
+24002000.3
ee_lib/Semiconductors & Converters/IGBT (Ideal, @@ -4668,6 +5485,8 @@ Switching)
Switching)off
+off
+ee.semiconductors.ideal.igbt
{"Bottom":[],"Left":[{"id":"G","label":"","type":"input"}],"Right":[{"id":"C","label":"","type":"foundation.electrical.electrical"},{"id":"E","label":"","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -4732,22 +5551,22 @@ Switching)0
A
off
-A
1
+A
off
None
0
V
off
-V
1
+V
off
None
0
V
off
-V
1
+V
ee.enum.converters.thermalLossOption.constantvalues
1
compiletime
@@ -4808,6 +5627,9 @@ Switching)ee.enum.diode.tableType.IfMat
1
compiletime
+ee.enum.diode.diodeReverseIV.constant
+1
+compiletime
[.07, .12, .19, 1.75, 4.24, 7.32, 11.2; .16, .3, .72, 2.14, 4.02, 6.35, 9.12]
A
compiletime
@@ -4823,6 +5645,18 @@ Switching)[.1, .2, .5, 1, 2, 4, 7, 10]
A
compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2.5e-05, 5e-05, .0001; 2e-06, 5e-06, 1e-05, 4e-05, 8e-05, .0002, .0005]
+A
+compiletime
+[10, 100, 200, 250, 300, 325, 350; 10, 70, 160, 220, 270, 300, 320]
+V
+compiletime
+[10, 20, 40, 50, 70, 80, 100]
+V
+compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2e-05, 5e-05, .0001]
+A
+compiletime
-600
V
compiletime
@@ -4859,6 +5693,9 @@ Switching)1 / 1000 / 100
s
compiletime
+false
+1
+compiletime
ee.enum.thermalNetworkTopology.external
1
compiletime
@@ -4904,23 +5741,69 @@ Switching)[25, 25, 25, 25]
degC
compiletime
+[.03, .2]
+K/W
+compiletime
+[.03, .1, .2]
+K/W
+compiletime
+[.03, .2]
+K/W
+compiletime
+[3, 25]
+J/K
+compiletime
+[3, 10, 25]
+J/K
+compiletime
+[33, 50]
+J/K
+compiletime
+[.1, 5]
+s
+compiletime
+[.1, 1, 5]
+s
+compiletime
+[1, 10]
+s
+compiletime
+[25, 25]
+degC
+compiletime
+[25, 25, 25]
+degC
+compiletime
+0.1
+J/K
+compiletime
+[25, 25, 25, 25]
+degC
+compiletime
0
1
compiletime
-off
-None
-25
-degC
-off
-degC
-1
+off
+None
+25
+degC
+off
+1
+degC
+off
+None
+25
+degC
+off
+1
+degC
off
None
0
W
off
-W
1
+W
off
None
0
@@ -4931,7 +5814,7 @@ Switching)[380, 80, 410, 140]
41
-23002000.3
+24002000.3
ee_lib/Semiconductors & Converters/IGBT (Ideal, @@ -4941,6 +5824,8 @@ Switching)
Switching)off
+off
+ee.semiconductors.ideal.igbt
{"Bottom":[],"Left":[{"id":"G","label":"","type":"input"}],"Right":[{"id":"C","label":"","type":"foundation.electrical.electrical"},{"id":"E","label":"","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -5005,22 +5890,22 @@ Switching)0
A
off
-A
1
+A
off
None
0
V
off
-V
1
+V
off
None
0
V
off
-V
1
+V
ee.enum.converters.thermalLossOption.constantvalues
1
compiletime
@@ -5081,6 +5966,9 @@ Switching)ee.enum.diode.tableType.IfMat
1
compiletime
+ee.enum.diode.diodeReverseIV.constant
+1
+compiletime
[.07, .12, .19, 1.75, 4.24, 7.32, 11.2; .16, .3, .72, 2.14, 4.02, 6.35, 9.12]
A
compiletime
@@ -5096,6 +5984,18 @@ Switching)[.1, .2, .5, 1, 2, 4, 7, 10]
A
compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2.5e-05, 5e-05, .0001; 2e-06, 5e-06, 1e-05, 4e-05, 8e-05, .0002, .0005]
+A
+compiletime
+[10, 100, 200, 250, 300, 325, 350; 10, 70, 160, 220, 270, 300, 320]
+V
+compiletime
+[10, 20, 40, 50, 70, 80, 100]
+V
+compiletime
+[1e-06, 2e-06, 5e-06, 1e-05, 2e-05, 5e-05, .0001]
+A
+compiletime
-600
V
compiletime
@@ -5132,6 +6032,9 @@ Switching)1 / 1000 / 100
s
compiletime
+false
+1
+compiletime
ee.enum.thermalNetworkTopology.external
1
compiletime
@@ -5177,23 +6080,69 @@ Switching)[25, 25, 25, 25]
degC
compiletime
+[.03, .2]
+K/W
+compiletime
+[.03, .1, .2]
+K/W
+compiletime
+[.03, .2]
+K/W
+compiletime
+[3, 25]
+J/K
+compiletime
+[3, 10, 25]
+J/K
+compiletime
+[33, 50]
+J/K
+compiletime
+[.1, 5]
+s
+compiletime
+[.1, 1, 5]
+s
+compiletime
+[1, 10]
+s
+compiletime
+[25, 25]
+degC
+compiletime
+[25, 25, 25]
+degC
+compiletime
+0.1
+J/K
+compiletime
+[25, 25, 25, 25]
+degC
+compiletime
0
1
compiletime
-off
-None
-25
-degC
-off
-degC
-1
+off
+None
+25
+degC
+off
+1
+degC
+off
+None
+25
+degC
+off
+1
+degC
off
None
0
W
off
-W
1
+W
off
None
0
@@ -5206,12 +6155,14 @@ Switching)42
on
off
-23002000.3
+24002000.3
ee_lib/Connectors & References/Phase Splitter
Phase Splitter
off
+off
+ee.connectors.phase_splitter.abc
{"Bottom":[],"Left":[{"id":"N","label":"~","type":"foundation.electrical.three_phase"}],"Right":[{"id":"a","label":"a","type":"foundation.electrical.electrical"},{"id":"b","label":"b","type":"foundation.electrical.electrical"},{"id":"c","label":"c","type":"foundation.electrical.electrical"}],"Top":[]}
off
@@ -5731,7 +6682,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_1253.xml[440, 19, 470, 121]
4424
off
-Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extmgr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('Sources','WiredSimulink',true),extmgr.Configuration('Visuals','Time Domain',true,'SerializedDisplays',{struct('MinYLimReal','1471.397','MaxYLimReal','1503.52871','YLabelReal','','MinYLimMag','1471.397','MaxYLimMag','1503.52871','LegendVisibility','On','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 1 0.0666666666666667;0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;0.392156862745098 0.831372549019608 0.0745098039215686;0.717647058823529 0.274509803921569 1;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',1),struct('MinYLimReal','-30.75426','MaxYLimReal','213.25261','YLabelReal','','MinYLimMag','1455.25038','MaxYLimMag','1505.02354','LegendVisibility','On','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 1 0.0666666666666667;0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;0.392156862745098 0.831372549019608 0.0745098039215686;0.717647058823529 0.274509803921569 1;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',2)},'DisplayPropertyDefaults',struct('YLabelReal','','AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;1 1 0.0666666666666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.0745098039215686;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863]),'DisplayLayoutDimensions',[2 1],'DisplayContentCache',[]),extmgr.Configuration('Tools','Plot Navigation',true,'PreviousAutoscale','XY'),extmgr.Configuration('Tools','Measurements',true,'Version','2023b')),'Version','2023b','Position',[829.8 384.2 698.4 341.6],'VisibleAtModelOpen','on')
+Simulink.scopes.TimeScopeBlockCfg('CurrentConfiguration', extmgr.ConfigurationSet(extmgr.Configuration('Core','General UI',true),extmgr.Configuration('Core','Source UI',true),extmgr.Configuration('Sources','WiredSimulink',true),extmgr.Configuration('Visuals','Time Domain',true,'SerializedDisplays',{struct('MinYLimReal','1471.397','MaxYLimReal','1503.52871','YLabelReal','','MinYLimMag','1471.397','MaxYLimMag','1503.52871','LegendVisibility','On','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',1),struct('MinYLimReal','-30.75426','MaxYLimReal','213.25261','YLabelReal','','MinYLimMag','1455.25038','MaxYLimMag','1505.02354','LegendVisibility','On','XGrid',true,'YGrid',true,'PlotMagPhase',false,'AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[1 0.909803921568627 0.392156862745098;0.149019607843137 0.549019607843137 0.866666666666667;0.96078431372549 0.466666666666667 0.16078431372549;0.286274509803922 0.858823529411765 0.250980392156863;0.752941176470588 0.36078431372549 0.984313725490196;0.423529411764706 0.956862745098039 1;0.949019607843137 0.403921568627451 0.772549019607843],'Title','%<SignalLabel>','LinePropertiesCache',{{}},'UserDefinedChannelNames',{{}},'NumLines',0,'LineNames',{{[]}},'ShowContent',true,'Placement',2)},'DisplayPropertyDefaults',struct('YLabelReal','','AxesColor',[0 0 0],'AxesTickColor',[0.686274509803922 0.686274509803922 0.686274509803922],'ColorOrder',[0.0745098039215686 0.623529411764706 1;1 0.411764705882353 0.16078431372549;1 1 0.0666666666666667;0.717647058823529 0.274509803921569 1;0.392156862745098 0.831372549019608 0.0745098039215686;0.0588235294117647 1 1;1 0.0745098039215686 0.650980392156863]),'DisplayLayoutDimensions',[2 1],'DisplayContentCache',[]),extmgr.Configuration('Tools','Plot Navigation',true,'PreviousAutoscale','XY'),extmgr.Configuration('Tools','Measurements',true,'Version','2024b')),'Version','2024b','Position',[829.8 384.2 698.4 341.6],'VisibleAtModelOpen','on')
2
off
on
right
off
-23002000.2
+24002000.1
fl_lib/Electrical/Electrical Elements/Electrical Reference
Electrical Reference
off
+off
+foundation.electrical.elements.reference
{"Bottom":[],"Left":[{"id":"V","label":"","type":"foundation.electrical.electrical"}],"Right":[],"Top":[]}
off
@@ -5893,11 +6846,13 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_root.xml3807
off
Initial %<w> %<w_unit>
-23002000.2
+24002000.1
fl_lib/Mechanical/Rotational Elements/Inertia
Inertia
off
+off
+foundation.mechanical.rotational.inertia
{"Bottom":[],"Left":[{"id":"I","label":"","type":"foundation.mechanical.rotational.rotational"}],"Right":[],"Top":[]}
off
@@ -5917,15 +6872,15 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_root.xml1500
rpm
off
-rad/s
1
+rad/s
off
High
0
N*m
off
-N*m
1
+N*m
on
right
off
-23002000.2
+24002000.1
fl_lib/Mechanical/Rotational Elements/Mechanical Rotational Reference
Mechanical Rotational Reference
off
+off
+foundation.mechanical.rotational.reference
{"Bottom":[],"Left":[{"id":"W","label":"","type":"foundation.mechanical.rotational.rotational"}],"Right":[],"Top":[]}
off
@@ -6090,11 +7047,13 @@ Step to %<After>3832
on
off
-23002000.2
+24002000.1
fl_lib/Mechanical/Mechanical Sources/Ideal Torque Source
Ideal Torque Source
off
+off
+foundation.mechanical.sources.torque
{"Bottom":[],"Left":[{"id":"R","label":"R","type":"foundation.mechanical.rotational.rotational"}],"Right":[{"id":"S","label":"S","type":"input"},{"id":"C","label":"C","type":"foundation.mechanical.rotational.rotational"}],"Top":[]}
off
@@ -6211,7 +7170,7 @@ Step to %<After>[0.901961, 0.901961, 1.000000]
on
area_annotation
-402
+403
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> @@ -6265,10 +7224,10 @@ __MWOPC_PART_BEGIN__ /simulink/windowsInfo.xml
1
SimulinkTopLevel
0
-[4055.0, 1455.0]
+[6083.0, 2183.0]
1.0
-[-197.40156249999995, -240.60206892463972]
-[-197.40156249999995, -240.60206892463972, 1622.0, 582.0]
+[-197.40156249999995, -240.60206892463975]
+[-197.40156249999995, -240.60206892463975, 4055.0, 1455.0]
0
@@ -6883,19 +7842,6 @@ __MWOPC_PART_BEGIN__ /simulink/windowsInfo.xmlSimulink:Editor:ReferencedFiles
-Referenced Files
-0
- -{"filterShowRefModels":"true","filterShowRefSubs":"true","filterShowOnlyDirtyFiles":"false"} -
-0
-Left
-256
-192
-Unset
-GLUE2:SpreadSheet
ModelData
0
@@ -6903,11 +7849,11 @@ __MWOPC_PART_BEGIN__ /simulink/windowsInfo.xml0
Bottom
-256
-192
+426
+320
Unset
GLUE2:PropertyInspector
Property Inspector
0
@@ -6915,12 +7861,25 @@ __MWOPC_PART_BEGIN__ /simulink/windowsInfo.xml0
Right
-256
-192
+426
+320
+Unset
+Simulink:Editor:ReferencedFiles
+Referenced Files
+0
+ +{"filterShowRefModels":"true","filterShowRefSubs":"true","filterShowOnlyDirtyFiles":"false"} +
+0
+Left
+426
+320
Unset
AAAA/wAAAAD9AAAAAwAAAAAAAAC9AAAB+PwCAAAABPsAAAAWAEQAbwBjAGsAVwBpAGQAZwBlAHQAMwEAAAAxAAAB+AAAAAAAAAAA+wAAABYARABvAGMAawBXAGkAZABnAGUAdAA0AAAAAAD/////AAAAAAAAAAD7AAAAUgBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQALwBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQAAAAAAP////8AAAEAAP////sAAABgAFMAaQBtAHUAbABpAG4AawA6AEUAZABpAHQAbwByADoAUgBlAGYAZQByAGUAbgBjAGUAZABGAGkAbABlAHMALwBSAGUAZgBlAHIAZQBuAGMAZQBkACAARgBpAGwAZQBzAAAAAAD/////AAABOwD///8AAAABAAAC6QAAA8f8AgAAAAH8AAAAtQAAA8cAAAAAAP////oAAAABAgAAAAL7AAAAVABHAEwAVQBFADIAOgBQAHIAbwBwAGUAcgB0AHkASQBuAHMAcABlAGMAdABvAHIALwBQAHIAbwBwAGUAcgB0AHkAIABJAG4AcwBwAGUAYwB0AG8AcgAAAAAA/////wAABCgA////+wAAAF4ARwBMAFUARQAyADoATgBvAHQAZQBzACAAQgByAG8AdwBzAGUAcgAgAEMAbwBtAHAAbwBuAGUAbgB0AC8AUwB5AHMARABvAGMATQBpAHgAZQBkAEUAZABpAHQAbwByAAAAAAD/////AAAAAAAAAAAAAAADAAADNAAAAPj8AQAAAAL7AAAANgBHAEwAVQBFADIAOgBTAHAAcgBlAGEAZABTAGgAZQBlAHQALwBNAG8AZABlAGwARABhAHQAYQAAAAAAAAADNAAAAmgA////+/////8AAAAAAP////8AAANYAP///wAADQYAAAUgAAAAAQAAAAIAAAABAAAAAvwAAAABAAAAAgAAAAA=
+AAAA/wAAAAD9AAAAAwAAAAAAAAC9AAAB+PwCAAAABPsAAAAWAEQAbwBjAGsAVwBpAGQAZwBlAHQAMwEAAAAxAAAB+AAAAAAAAAAA+wAAABYARABvAGMAawBXAGkAZABnAGUAdAA0AAAAAAD/////AAAAAAAAAAD7AAAAUgBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQALwBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQAAAAAAP////8AAACTAP////sAAABgAFMAaQBtAHUAbABpAG4AawA6AEUAZABpAHQAbwByADoAUgBlAGYAZQByAGUAbgBjAGUAZABGAGkAbABlAHMALwBSAGUAZgBlAHIAZQBuAGMAZQBkACAARgBpAGwAZQBzAAAAAAD/////AAAAxwD///8AAAABAAAC6QAAA8f8AgAAAAH8AAAAtQAAA8cAAAAAAP////oAAAABAgAAAAL7AAAAVABHAEwAVQBFADIAOgBQAHIAbwBwAGUAcgB0AHkASQBuAHMAcABlAGMAdABvAHIALwBQAHIAbwBwAGUAcgB0AHkAIABJAG4AcwBwAGUAYwB0AG8AcgAAAAAA/////wAAAoAA////+wAAAF4ARwBMAFUARQAyADoATgBvAHQAZQBzACAAQgByAG8AdwBzAGUAcgAgAEMAbwBtAHAAbwBuAGUAbgB0AC8AUwB5AHMARABvAGMATQBpAHgAZQBkAEUAZABpAHQAbwByAAAAAAD/////AAAAAAAAAAAAAAADAAADNAAAAPj8AQAAAAL7AAAANgBHAEwAVQBFADIAOgBTAHAAcgBlAGEAZABTAGgAZQBlAHQALwBNAG8AZABlAGwARABhAHQAYQAAAAAAAAADNAAAAYMA////+/////8AAAAAAP////8AAAOzAP///wAAB9EAAAMSAAAAAQAAAAIAAAABAAAAAvwAAAABAAAAAgAAAAA=
a69b867f-36ae-4c1b-a699-d31d4fd73954
-
-
-
-BEV Project Navigator App
-
-
-
-Vehicle1D Performance Design App
-
-
-
-Motor Drive Unit Efficiency App for System Thermal Model
-
-
-
-Motor Drive Unit App
-
-
-
-## What's New in 2.5 (June, 2025)
-
-BEV Project
-
-- The BEV Project Navigator app has been updated.
-
-Motor Drive Unit component
-
-- The folder organization of the component has been updated.
- Different models are stored in different folders.
- Related files for a model such as test scripts and apps are put in the same folder.
-- Motor Drive Unit Efficiency apps have been added to the Basic model and
- the System Thermal model.
-- Motor Drive Unit App has been added to help select MDU model and simulation case.
-- The Build Tool is used to check code and run tests.
-
-Vehicle1D component
-
-- The folder organization of the component has been updated.
-- Vehicle1D Performance Design app has been updated.
-- The Build Tool is used to check code and run tests.
-
-## What's New in 2.4 (November, 2024)
-
-- The project has been updated to MATLAB R2024b with some clean ups.
-- Added brief entry-point descriptions about MATLAB project and Git
- to [Using MATLAB Project](docs/Using-MATLAB-Project.md).
- The page also provides links to product documentation for more information.
-
-## What's New in 2.3 (June, 2024)
-
-- The project has been updated to MATLAB R2024a.
-- Vehicle1D performance design app is added.
-- For veiwing Live Scripts in the GitHub web site in the browser,
- they are converted to Markdown files and collected in the Markdown folder.
-
-## What's New in 2.2 (September, 2023)
-
-- The project has been updated to MATLAB R2023b.
-- [MATLAB Build Tool][url-buildtool] is used to automate tasks
- to generate HTML files and Jupyter notebooks from all Live Scripts
- in the project.
-- GitHub Actions has been updated to generate and upload
- test report and coverage report.
-- GitHub Actions also generates Jupyter notebooks from Live Scripts.
- Jupyter notebooks can be viewed in the repo in the browser.
-
-[url-buildtool]: https://www.mathworks.com/help/matlab/matlab_prog/overview-of-matlab-build-tool.html
-
-## What's New in 2.1 (March, 2023)
-
-- The project has been updated to MATLAB R2023a.
-- A shortcut button to open **MATLAB Test Manager**
- is added in the Project Shortcuts tab of the toolstrip.
- MATLAB Test Manager requires the **MATLAB Test** license.
-
-See [Change Log](ChangeLog.md) for more details.
-
-## What's New in 2.0 (February, 2023)
-
-- BEV system model uses updated components and
- has simpler and easier configurability
- for selecting vehicle speed reference input.
-- High voltage battery component provides
- four different models:
- **Basic**, **System simple**, **System**, and **System tabulated**.
- They are all system level models and abstract,
- but they prodive different fidelity levels of the model.
- See [README](./Components/BatteryHighVoltage/README.md) in
- **Components > BatteryHighVoltage** for more details.
-- Motor drive unit component provides
- four different models:
- **Basic**, **Basic thermal**, **System**, and **System tabulated**.
- They are all system level models and abstract,
- but they prodive different fidelity levels of the model.
- See [README](./Components/MotorDriveUnit/README.md) in
- **Components > MotorDriveUnit** for more details.
-- A detailed battery model built with a custom Simscape library
- has been removed.
- [This project][url-bev] will remain focused
- on vehicle system-level applications using abstract models
- in future updates.
- A new project [Electric Vehicle Design with Simscape][url-bev-design]
- serves as an alternative for detailed model applications.
-
-See [Change Log](ChangeLog.md) for more details.
-
-## Tool Requirements
-
-Supported MATLAB Version:
-R2024b or newer releases
-
-Required:
-[MATLAB](https://www.mathworks.com/products/matlab.html),
-[Simulink®](https://www.mathworks.com/products/simulink.html),
-[Powertrain Blockset](https://www.mathworks.com/products/powertrain.html),
-[Simscape](https://www.mathworks.com/products/simscape.html),
-[Simscape Driveline™](https://www.mathworks.com/products/simscape-driveline.html),
-[Simscape Electrical™](https://www.mathworks.com/products/simscape-electrical.html)
-
-Optional:
-[MATLAB Test](https://www.mathworks.com/products/matlab-test.html),
-[Parallel Computing Toolbox™](https://www.mathworks.com/products/parallel-computing.html)
-
-## How to Use
-
-Open `BatteryElectricVehicle.prj` in MATLAB, and
-it will automatically open the project main page `BEV_main_script.html`.
-The script contains the description of the model and
-hyperlinks to models and scripts.
-
-## How to Use in MATLAB Online
-
-You can try this in [MATLAB Online][url_online].
-In MATLAB Online, from the **HOME** tab in the toolstrip,
-select **Add-Ons** > **Get Add-Ons**
-to open the Add-On Explorer.
-Then search for the submission name,
-navigate to the submission page,
-click **Add** button, and select **Save to MATLAB Drive**.
-
-[url_online]: https://www.mathworks.com/products/matlab-online.html
-
-## Additional Notes
-
-- [Using MATLAB Project](docs/Using-MATLAB-Project.md)
-
-- [MATLAB Testing Framework](docs/MATLAB-Testing-Framework.md)
-
-## See Also
-
-[Hybrid Electric Vehicle Model in Simscape][url-hev-powersplit]
-provides an abstract power-split HEV model.
-The level of abstraction is similar to
-this [BEV model in Simscape][url-bev] project.
-
-[Electric Vehicle Design with Simscape][url-bev-design]
-provides BEV design workflows using detailed models
-for detailed analysis.
-Note that the [BEV model in Simscape][url-bev] project
-(the current project you are viewing) is focused on
-vehicle system-level applications using abstract models.
-
-[url-bev]: https://www.mathworks.com/matlabcentral/fileexchange/82250
-[url-bev-design]: https://www.mathworks.com/matlabcentral/fileexchange/124795
-[url-hev-powersplit]: https://www.mathworks.com/matlabcentral/fileexchange/92820
-
-## License
-
-See [`license.txt`](license.txt).
-
-_Copyright 2020-2025 The MathWorks, Inc._
+# Battery Electric Vehicle Model in Simscape™
+
+[](https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/actions/workflows/ci-linux.yml)
+[](https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/actions/workflows/ci-windows.yml)
+
+[](https://www.mathworks.com/matlabcentral/fileexchange/82250-battery-electric-vehicle-model-in-simscape)
+
+Version 4.0
+
+- Version 4 works with R2024b or newer MATLAB releases.
+ Version 4.0.0 is identical to version 2.5.1.
+- Version 3 works with R2025b or newer MATLAB releases.
+
+## Introduction
+
+This is a MATLAB® Project containing
+a [Battery Electric Vehicle (BEV) model](BEV/README.md) and
+its components such as
+motor, high voltage battery, and longitudinal vehicle.
+This project demonstrates Simscape's modular and
+multi-fidelity modeling technology.
+
+The abstract BEV model is built in a simple and modular fashion,
+and it can run faster than real-time.
+It is suitable as a baseline model for drive cycle simulation
+to estimate vehicle's electrical efficiency and
+other vehicle-level information.
+
+This project also contains the model of a detailed
+permanent magnet synchronous motor (PMSM) and controller.
+It captures the detailed behaviors of the AC motor drive unit
+and can estimate the electrical efficiency at the unit level.
+
+A Live Script demonstrates how to obtain the electrical efficiency
+from the slow but detailed motor drive unit and use the result
+as the block parameter of the simple but fast motor drive block
+in the BEV model.
+
+
+
+
+
+BEV Project Navigator App
+
+
+
+Vehicle1D Performance Design App
+
+
+
+Motor Drive Unit Efficiency App for System Thermal Model
+
+
+
+Motor Drive Unit App
+
+
+
+## What's New in 4.0 (January, 2026)
+
+> ⚠️ This is an update for R2024b or newer MATLAB releases.
+> Version 4.0.0 is identical to version 2.5.1.
+> For more recent development updates, visit
+> the [github repository](https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model).
+
+BEV Controller
+
+- The BEV Controller has improved its numerical robustness for some scenarios.
+ The zero-crossing detection is disabled for the integrator block for the I term
+ of the PI speed controller.
+ There were cases where simulation stalled due to the combination of zero-crossing
+ and the saturation of the integrator output.
+
+## What's New in 2.5 (June, 2025)
+
+BEV Project
+
+- The BEV Project Navigator app has been updated.
+
+Motor Drive Unit component
+
+- The folder organization of the component has been updated.
+ Different models are stored in different folders.
+ Related files for a model such as test scripts and apps are put in the same folder.
+- Motor Drive Unit Efficiency apps have been added to the Basic model and
+ the System Thermal model.
+- Motor Drive Unit App has been added to help select MDU model and simulation case.
+- The Build Tool is used to check code and run tests.
+
+Vehicle1D component
+
+- The folder organization of the component has been updated.
+- Vehicle1D Performance Design app has been updated.
+- The Build Tool is used to check code and run tests.
+
+## What's New in 2.4 (November, 2024)
+
+- The project has been updated to MATLAB R2024b with some clean ups.
+- Added brief entry-point descriptions about MATLAB project and Git
+ to [Using MATLAB Project](docs/Using-MATLAB-Project.md).
+ The page also provides links to product documentation for more information.
+
+## What's New in 2.3 (June, 2024)
+
+- The project has been updated to MATLAB R2024a.
+- Vehicle1D performance design app is added.
+- For veiwing Live Scripts in the GitHub web site in the browser,
+ they are converted to Markdown files and collected in the Markdown folder.
+
+## What's New in 2.2 (September, 2023)
+
+- The project has been updated to MATLAB R2023b.
+- [MATLAB Build Tool][url-buildtool] is used to automate tasks
+ to generate HTML files and Jupyter notebooks from all Live Scripts
+ in the project.
+- GitHub Actions has been updated to generate and upload
+ test report and coverage report.
+- GitHub Actions also generates Jupyter notebooks from Live Scripts.
+ Jupyter notebooks can be viewed in the repo in the browser.
+
+[url-buildtool]: https://www.mathworks.com/help/matlab/matlab_prog/overview-of-matlab-build-tool.html
+
+## What's New in 2.1 (March, 2023)
+
+- The project has been updated to MATLAB R2023a.
+- A shortcut button to open **MATLAB Test Manager**
+ is added in the Project Shortcuts tab of the toolstrip.
+ MATLAB Test Manager requires the **MATLAB Test** license.
+
+See [Change Log](ChangeLog.md) for more details.
+
+## What's New in 2.0 (February, 2023)
+
+- BEV system model uses updated components and
+ has simpler and easier configurability
+ for selecting vehicle speed reference input.
+- High voltage battery component provides
+ four different models:
+ **Basic**, **System simple**, **System**, and **System tabulated**.
+ They are all system level models and abstract,
+ but they prodive different fidelity levels of the model.
+ See [README](./Components/BatteryHighVoltage/README.md) in
+ **Components > BatteryHighVoltage** for more details.
+- Motor drive unit component provides
+ four different models:
+ **Basic**, **Basic thermal**, **System**, and **System tabulated**.
+ They are all system level models and abstract,
+ but they prodive different fidelity levels of the model.
+ See [README](./Components/MotorDriveUnit/README.md) in
+ **Components > MotorDriveUnit** for more details.
+- A detailed battery model built with a custom Simscape library
+ has been removed.
+ [This project][url-bev] will remain focused
+ on vehicle system-level applications using abstract models
+ in future updates.
+ A new project [Electric Vehicle Design with Simscape][url-bev-design]
+ serves as an alternative for detailed model applications.
+
+See [Change Log](ChangeLog.md) for more details.
+
+## Tool Requirements
+
+Supported MATLAB Version:
+R2024b or newer releases
+
+Required:
+[MATLAB](https://www.mathworks.com/products/matlab.html),
+[Simulink®](https://www.mathworks.com/products/simulink.html),
+[Powertrain Blockset](https://www.mathworks.com/products/powertrain.html),
+[Simscape](https://www.mathworks.com/products/simscape.html),
+[Simscape Driveline™](https://www.mathworks.com/products/simscape-driveline.html),
+[Simscape Electrical™](https://www.mathworks.com/products/simscape-electrical.html)
+
+Optional:
+[MATLAB Test](https://www.mathworks.com/products/matlab-test.html),
+[Parallel Computing Toolbox™](https://www.mathworks.com/products/parallel-computing.html)
+
+## How to Use
+
+Open `BatteryElectricVehicle.prj` in MATLAB, and
+it will automatically open the project main page `BEV_main_script.html`.
+The script contains the description of the model and
+hyperlinks to models and scripts.
+
+## How to Use in MATLAB Online
+
+You can try this in [MATLAB Online][url_online].
+In MATLAB Online, from the **HOME** tab in the toolstrip,
+select **Add-Ons** > **Get Add-Ons**
+to open the Add-On Explorer.
+Then search for the submission name,
+navigate to the submission page,
+click **Add** button, and select **Save to MATLAB Drive**.
+
+[url_online]: https://www.mathworks.com/products/matlab-online.html
+
+## Additional Notes
+
+- [Using MATLAB Project](docs/Using-MATLAB-Project.md)
+
+- [MATLAB Testing Framework](docs/MATLAB-Testing-Framework.md)
+
+## See Also
+
+[Hybrid Electric Vehicle Model in Simscape][url-hev-powersplit]
+provides an abstract power-split HEV model.
+The level of abstraction is similar to
+this [BEV model in Simscape][url-bev] project.
+
+[Electric Vehicle Design with Simscape][url-bev-design]
+provides BEV design workflows using detailed models
+for detailed analysis.
+Note that the [BEV model in Simscape][url-bev] project
+(the current project you are viewing) is focused on
+vehicle system-level applications using abstract models.
+
+[url-bev]: https://www.mathworks.com/matlabcentral/fileexchange/82250
+[url-bev-design]: https://www.mathworks.com/matlabcentral/fileexchange/124795
+[url-hev-powersplit]: https://www.mathworks.com/matlabcentral/fileexchange/92820
+
+## License
+
+See [`license.txt`](license.txt).
+
+_Copyright 2020-2025 The MathWorks, Inc._
diff --git a/Utility/LocalTasks/openProjectDescription.m b/Utility/LocalTasks/openProjectDescription.m
new file mode 100644
index 00000000..80f37c53
--- /dev/null
+++ b/Utility/LocalTasks/openProjectDescription.m
@@ -0,0 +1,11 @@
+function openProjectDescription
+% Open the project description HTML file using the web command.
+%
+% The web command opens the specified HTML file using the MATLAB's web browser.
+% Use this function to create a project shortcut.
+
+% Copyright 2026 The MathWorks, inc.
+
+web("BEVProjectDescription.html")
+
+end % function
diff --git a/buildfile.m b/buildfile_24b.m
similarity index 72%
rename from buildfile.m
rename to buildfile_24b.m
index b3d856fa..788045c2 100644
--- a/buildfile.m
+++ b/buildfile_24b.m
@@ -1,163 +1,114 @@
-function plan = buildfile
-%% Define and run tasks.
-
-% Copyright 2023 The MathWorks, Inc.
-
-top_folder = currentProject().RootFolder;
-
-test_definitions = [
- fullfile(top_folder, "BEV", "Test", "BEV_UnitTest_MQC.m")
- ...
- fullfile(top_folder, "Components", "BatteryHighVoltage", "Test", "BatteryHV_UnitTest.m")
- fullfile(top_folder, "Components", "BatteryHighVoltage", "Test", "BatteryHV_UnitTest_MQC.m")
- ...
- fullfile(top_folder, "Components", "BEVController", "Test", "BEVController_UnitTest_MQC.m")
- ...
- fullfile(top_folder, "Components", "ControllerAndEnvironment", "Test", "CtrlEnv_UnitTest_MQC.m")
- ...
- fullfile(top_folder, "Components", "MotorDriveUnit", "Model-Basic", "MotorDriveUnit_test_Basic.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "Model-Basic", "SimulationCases", "MotorDriveUnit_test_Basic_simulation_cases.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "Model-BasicThermal", "MotorDriveUnit_test_BasicThermal.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "Model-BasicThermal", "SimulationCases", "MotorDriveUnit_test_BasicThermal_simulation_cases.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "Model-SystemTable", "MotorDriveUnit_test_SystemTable.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "Model-SystemTable", "SimulationCases", "MotorDriveUnit_test_System_simulation_cases.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "Model-SystemThermal", "MotorDriveUnit_test_SystemThermal.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "Model-SystemThermal", "SimulationCases", "MotorDriveUnit_test_SystemThermal_simulation_cases.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "Utility-MDU", "MotorDriveUnit_test_Utility_MDU.m")
- fullfile(top_folder, "Components", "MotorDriveUnit", "MotorDriveUnit_test.m")
- ...
- fullfile(top_folder, "Components", "Vehicle1D", "Model-Basic", "SimulationCases", "Vehicle1D_test_Basic_simulation_cases.m")
- fullfile(top_folder, "Components", "Vehicle1D", "Model-Basic", "Vehicle1D_Basic_test.m")
- fullfile(top_folder, "Components", "Vehicle1D", "Utility-Vehicle1D", "Vehicle1D_test_Utility.m")
- fullfile(top_folder, "Components", "Vehicle1D", "Utility-Vehicle1D", "Vehicle1DPerformance_test.m")
- fullfile(top_folder, "Components", "Vehicle1D", "Utility-Vehicle1D", "Vehicle1DPerformance_uitest.m")
- fullfile(top_folder, "Components", "Vehicle1D", "Vehicle1D_test.m")
- fullfile(top_folder, "Components", "Vehicle1D", "Vehicle1DPerformanceDesignApp_uitest.m")
- ...
- fullfile(top_folder, "Components", "VehicleSpeedReference", "VehSpdRef_harness_model_test.m")
- fullfile(top_folder, "Components", "VehicleSpeedReference", "SimulationCases", "VehSpdRef_Case_test.m")
- ...
- fullfile(top_folder, "Test", "BEVProject_UnitTest_MQC.m")
- ];
-
-% This function runs tasks such as identifing code issues,
-% running tests, or performing your custom tasks.
-% To see available tasks, run the following command in MATLAB Command Window.
-%
-% buildtool -tasks
-%
-% This function uses MATLAB build tool API, which was first released in R2022b.
-% Incremental builds are supported since R2023a.
-% Task for running tests is supported since R2023b.
-% For information about MATLAB build tool, see the documentation:
-%
-% - Overview of MATLAB Build Tool
-% https://mathworks.com/help/matlab/matlab_prog/overview-of-matlab-build-tool.html
-%
-% - Improve Performance with Incremental Builds
-% https://mathworks.com/help/matlab/matlab_prog/improve-performance-with-incremental-builds.html
-%
-% - Task for running tests
-% https://mathworks.com/help/matlab/ref/matlab.buildtool.tasks.testtask-class.html
-
-% buildtool -tasks
-% buildtool CodeIssues
-% buildtool CheckProject
-% buildtool Test
-% buildtool Clean
-% buildtool CodeIssues CheckProject Test
-
-%%
-% Create a build plan from task functions.
-%
-% `localfunctions` returns a cell array of function handles
-% to all local functions in the current file.
-%
-% For information about buildplan, see the documentation:
-% - https://mathworks.com/help/matlab/ref/buildplan.html
-%
-plan = buildplan(localfunctions);
-
-% Add a task to identify code issues.
-plan("CodeIssues") = matlab.buildtool.tasks.CodeIssuesTask( ...
- Results = "cache/buildtool-results/code-issues.sarif");
-
-plan("CheckProject").Dependencies = "CodeIssues";
-
-% Add a task to run tests.
-plan("Test") = matlab.buildtool.tasks.TestTask( ...
- SourceFiles = pwd, ...
- TestResults = [
- "cache/buildtool-results/test-results.xml"
- "cache/buildtool-results/test-results.pdf"
- ], ...
- CodeCoverageResults = [
- "cache/buildtool-results/code-coverage.html"
- "cache/buildtool-results/code-coverage.xml"
- ] );
-
-plan("Test").Dependencies = "CodeIssues";
-
-plan("Test").Tests = test_definitions;
-
-plan("Clean") = matlab.buildtool.tasks.CleanTask;
-
-% plan("LiveScriptToJupyterNotebook").Inputs = "**/*.mlx";
-% plan("LiveScriptToJupyterNotebook").Outputs = ...
-% replace(plan("LiveScriptToJupyterNotebook").Inputs, ".mlx", ".ipynb");
-
-plan.DefaultTasks = [
- "CodeIssues"
- "CheckProject"
- "Test"
- ];
-
-end % function
-
-
-%% Local functions == task functions
-% Task functions are local functions in the build file (this file).
-%
-% - Function name must end with the word "Task", which is case insensitive.
-% The build tool generates task names from task function names
-% by removing the "Task" suffix.
-% For example, a task function `testTask` results in a task named "test".
-%
-% - A task function must accept a TaskContext object as its first input,
-% even if the task ignores it.
-%
-% - The build tool treats the first help text line,
-% often called the H1 line, of the task function as the task description.
-
-
-%{
-function LiveScriptToMarkdownTask(context)
-%% Export Live Scripts to Markdown files
-%
-% buildtool LiveScriptToMarkdown
-
-arguments
- context (1,1) matlab.buildtool.TaskContext
-end
-mlxFiles = context.Task.Inputs.paths;
-mdFiles = context.Task.Outputs.paths;
-for idx = 1:numel(mlxFiles)
- disp("Generating Markdown file from Live Script:")
- disp(" " + mlxFiles(idx))
-
- LiveScript_Utility.CheckAndGenerateMarkdown(mlxFiles(idx))
- % export(mlxFiles(idx), mdFiles(idx), Run=true);
-
-end % for
-end % function
-%}
-
-
-function CheckProjectTask(~)
-%% Run MATLAB project integrity checks
-%
-% buildtool CheckProject
-
-BEVProject_CheckProject
-
-end % function
+function plan = buildfile_24b
+%% Define and run tasks.
+% buildtool -buildFile buildfile_24b.m -verbosity Verbose CodeIssues CheckProject Test
+
+% Copyright 2023-2026 The MathWorks, Inc.
+
+top_folder = currentProject().RootFolder;
+
+test_definitions = [
+ fullfile(top_folder, "BEV", "Test", "BEV_UnitTest_MQC.m")
+ ...
+ fullfile(top_folder, "Components", "BatteryHighVoltage", "Test", "BatteryHV_UnitTest.m")
+ fullfile(top_folder, "Components", "BatteryHighVoltage", "Test", "BatteryHV_UnitTest_MQC.m")
+ ...
+ fullfile(top_folder, "Components", "BEVController", "Test", "BEVController_UnitTest_MQC.m")
+ ...
+ fullfile(top_folder, "Components", "ControllerAndEnvironment", "Test", "CtrlEnv_UnitTest_MQC.m")
+ ...
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Model-Basic", "MotorDriveUnit_test_Basic.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Model-Basic", "SimulationCases", "MotorDriveUnit_test_Basic_simulation_cases.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Model-BasicThermal", "MotorDriveUnit_test_BasicThermal.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Model-BasicThermal", "SimulationCases", "MotorDriveUnit_test_BasicThermal_simulation_cases.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Model-SystemTable", "MotorDriveUnit_test_SystemTable.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Model-SystemTable", "SimulationCases", "MotorDriveUnit_test_System_simulation_cases.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Model-SystemThermal", "MotorDriveUnit_test_SystemThermal.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Model-SystemThermal", "SimulationCases", "MotorDriveUnit_test_SystemThermal_simulation_cases.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "Utility-MDU", "MotorDriveUnit_test_Utility_MDU.m")
+ fullfile(top_folder, "Components", "MotorDriveUnit", "MotorDriveUnit_test.m")
+ ...
+ fullfile(top_folder, "Components", "Vehicle1D", "Model-Basic", "SimulationCases", "Vehicle1D_test_Basic_simulation_cases.m")
+ fullfile(top_folder, "Components", "Vehicle1D", "Model-Basic", "Vehicle1D_Basic_test.m")
+ fullfile(top_folder, "Components", "Vehicle1D", "Utility-Vehicle1D", "Vehicle1D_test_Utility.m")
+ fullfile(top_folder, "Components", "Vehicle1D", "Utility-Vehicle1D", "Vehicle1DPerformance_test.m")
+ fullfile(top_folder, "Components", "Vehicle1D", "Utility-Vehicle1D", "Vehicle1DPerformance_uitest.m")
+ fullfile(top_folder, "Components", "Vehicle1D", "Vehicle1D_test.m")
+ fullfile(top_folder, "Components", "Vehicle1D", "Vehicle1DPerformanceDesignApp_uitest.m")
+ ...
+ fullfile(top_folder, "Components", "VehicleSpeedReference", "VehSpdRef_harness_model_test.m")
+ fullfile(top_folder, "Components", "VehicleSpeedReference", "SimulationCases", "VehSpdRef_Case_test.m")
+ ...
+ fullfile(top_folder, "Test", "BEVProject_UnitTest_MQC.m")
+ ];
+
+% This function runs tasks such as identifing code issues,
+% running tests, or performing your custom tasks.
+% To see available tasks, run the following command in MATLAB Command Window.
+%
+% buildtool -tasks
+%
+% This function uses MATLAB build tool API, which was first released in R2022b.
+% Incremental builds are supported since R2023a.
+% Task for running tests is supported since R2023b.
+% For information about MATLAB build tool, see the documentation:
+%
+% - Overview of MATLAB Build Tool
+% https://mathworks.com/help/matlab/matlab_prog/overview-of-matlab-build-tool.html
+%
+% - Improve Performance with Incremental Builds
+% https://mathworks.com/help/matlab/matlab_prog/improve-performance-with-incremental-builds.html
+%
+% - Task for running tests
+% https://mathworks.com/help/matlab/ref/matlab.buildtool.tasks.testtask-class.html
+
+% buildtool -tasks
+% buildtool CodeIssues
+% buildtool CheckProject
+% buildtool Test
+% buildtool Clean
+% buildtool CodeIssues CheckProject Test
+
+%%
+% Create a build plan from task functions.
+%
+% `localfunctions` returns a cell array of function handles
+% to all local functions in the current file.
+%
+% For information about buildplan, see the documentation:
+% - https://mathworks.com/help/matlab/ref/buildplan.html
+%
+plan = buildplan(localfunctions);
+plan.DefaultTasks = [
+ "CodeIssues"
+ "CheckProject"
+ "Test"
+ ];
+
+% Add a task to identify code issues.
+plan("CodeIssues") = matlab.buildtool.tasks.CodeIssuesTask( ...
+ Results = "test-result-24b/code-issues.sarif");
+
+plan("CheckProject").Dependencies = "CodeIssues";
+
+% Add a task to run tests.
+plan("Test") = matlab.buildtool.tasks.TestTask( ...
+ Dependencies = "CodeIssues", ...
+ SourceFiles = pwd, ...
+ TestResults = [
+ "test-result-24b/test-result.xml"
+ "test-result-24b/test-result.pdf"
+ ], ...
+ CodeCoverageResults = [
+ "test-result-24b/code-coverage.html"
+ "test-result-24b/code-coverage.xml"
+ ] );
+
+plan("Test").Tests = test_definitions;
+
+plan("Clean") = matlab.buildtool.tasks.CleanTask;
+
+end % function
+
+function CheckProjectTask(~)
+BEVProject_CheckProject
+end % local function
diff --git a/cache/buildtool-results/README.md b/cache/buildtool-results/README.md
deleted file mode 100644
index 0cfc8429..00000000
--- a/cache/buildtool-results/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# buildtool results
-
-This folder contains the results of the buildtool run.
-
-_Copyright 2023 The MathWorks, Inc._
diff --git a/cache/buildtool-results/code-coverage.html b/cache/buildtool-results/code-coverage.html
deleted file mode 100644
index 2c059efe..00000000
--- a/cache/buildtool-results/code-coverage.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-