Timestamp: |
19-Mar-2025 14:33:35 |
Host: |
fv-az1665-604 |
Platform: |
glnxa64 |
MATLAB Version: |
24.2.0.2863752 (R2024b) Update 5 |
Number of Tests: |
6 |
Testing Time: |
66.2747 seconds |
Overall Result: |
PASSED |
/home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/
50.9907 seconds |
||
15.2840 seconds |
||
The test passed. Duration: 43.2988 seconds
Events:
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:05 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_958f778e-3480-4cf7-aa03-af189c8b7a45.png Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsChargeDischarge.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:07 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_dedde64d-846f-4310-98da-daa1a7a29a2a.png Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsChargeDischarge.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94 |
(Overview)
The test passed. Duration: 7.6919 seconds
Events:
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:13 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_3c5f927a-38ed-437e-862d-94d907b44396.png Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:15 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_cc9d97d9-2fc9-4889-ae93-46c41f677bf3.png Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:16 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_1759055f-e9fa-4dd3-9095-bffb9b6729c4.png Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:17 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_7c8c54ac-19fb-4d63-8245-eebc151b2bf4.png Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94 |
(Overview)
The test passed. Duration: 0.1254 seconds
(Overview)
The test passed. Duration: 0.0054 seconds
(Overview)
The test passed. Duration: 9.5720 seconds
Events:
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:25 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_4719669c-aab8-4419-9c7f-775a21a88e84.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsChargeDischarge.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:26 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_0bea5da3-ff19-4e34-9625-2208699d80b7.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsChargeDischarge.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
(Overview)
The test passed. Duration: 5.5814 seconds
Events:
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:30 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_960473eb-22e9-432f-ac42-e4af45b81e62.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:31 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_28269478-c164-4083-9bf3-9e5983bfb19b.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:31 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_75c08b99-1069-4d46-a4ce-45b985b21545.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:32 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_fe803c1e-3a0c-4f7b-93ca-629250543b16.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
Diagnostic logged.
Timestamp: 19-Mar-2025 14:33:32 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_e56e59d4-5124-42d6-8e36-4707a9c79fb6.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=CapacitorsFundamentals.mlx) Stack: In /home/runner/work/Electricity-Magnetism/Electricity-Magnetism/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
(Overview)
Running SmokeTests >> Running CapacitorsChargeDischarge.mlx [Warning: The resistor's voltage would be equal to the power supply's voltage right after the switch closes.] [> In CapacitorsChargeDischarge>CheckExercise6 (line 14) In CapacitorsChargeDischarge (line 1) In run (line 112) In SmokeTests/SmokeRun (line 78)] [Warning: The capacitor's voltage would be zero right after the switch closes.] [> In CapacitorsChargeDischarge>CheckExercise6 (line 21) In CapacitorsChargeDischarge (line 1) In run (line 112) In SmokeTests/SmokeRun (line 78)] Good job! You defined the differential equation correctly. DifferentialEquation(t) = diff(V_C(t), t) == (V_PS - V_C(t))/(C*R) InitialCondition = V_C(0) == 0 V_C = V_PS - V_PS*exp(-t/(C*R)) Model 'SimpleRC' was exported from R2025a to R2024a. To find blocks that were removed during the export operation, <a href="matlab:slexportprevious.utils.displayReplacedBlocks('SimpleRC')">click here</a>. Save the model to remove this notification. [Warning: Run the simulation in the SimpleRC.slx Simscape model if you want to visualize the results.] [> In CapacitorsChargeDischarge (line 167) In run (line 112) In SmokeTests/SmokeRun (line 78)] [Warning: The resistor is always connected to the capacitor independent of the state of each switch.] [> In CapacitorsChargeDischarge (line 174) In run (line 112) In SmokeTests/SmokeRun (line 78)] The capacitor was storing energy that can be delivered back to the resistor. The energy stored in the capacitor is: U == (1/2)*C*V_C with: U is the energy in joules C is the capacitance in farads V_C is the capacitor voltage [Terse] Diagnostic logged (2025-03-19 14:33:05): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_958f778e-3480-4cf7-aa03-af189c8b7a45.png [Terse] Diagnostic logged (2025-03-19 14:33:07): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_dedde64d-846f-4310-98da-daa1a7a29a2a.png .>> Running CapacitorsFundamentals.mlx [Warning: Please select a valid answer.] [> In CapacitorsFundamentals>CheckExercise1 (line 6) In CapacitorsFundamentals (line 1) In run (line 112) In SmokeTests/SmokeRun (line 78)] [Warning: Run the simulation in the SimpleRC.slx Simscape model if you want to visualize the results. Reopen and run the <a href="matlab: open('SimpleRC.slx')">simulation</a> ] [> In CapacitorsFundamentals (line 35) In run (line 112) In SmokeTests/SmokeRun (line 78)] [Warning: Please select a valid answer.] [> In CapacitorsFundamentals>CheckExercise2 (line 42) In CapacitorsFundamentals (line 37) In run (line 112) In SmokeTests/SmokeRun (line 78)] [Warning: Please. enter your answer in the edit field above.] [> In CapacitorsFundamentals>CheckExercise3 (line 123) In CapacitorsFundamentals (line 109) In run (line 112) In SmokeTests/SmokeRun (line 78)] [Warning: Please. enter your answer in the edit field above.] [> In CapacitorsFundamentals>CheckExercise4 (line 177) In CapacitorsFundamentals (line 153) In run (line 112) In SmokeTests/SmokeRun (line 78)] [Warning: Select an answer] [> In CapacitorsFundamentals>CheckExercise5 (line 211) In CapacitorsFundamentals (line 206) In run (line 112) In SmokeTests/SmokeRun (line 78)] [Terse] Diagnostic logged (2025-03-19 14:33:13): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_3c5f927a-38ed-437e-862d-94d907b44396.png [Terse] Diagnostic logged (2025-03-19 14:33:15): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_cc9d97d9-2fc9-4889-ae93-46c41f677bf3.png [Terse] Diagnostic logged (2025-03-19 14:33:16): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_1759055f-e9fa-4dd3-9095-bffb9b6729c4.png [Terse] Diagnostic logged (2025-03-19 14:33:17): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_7c8c54ac-19fb-4d63-8245-eebc151b2bf4.png . Done SmokeTests __________ Running SolnSmokeTests ..>> Running CapacitorsChargeDischargeSoln.mlx Good job! You got the voltages right. Good job! You defined the differential equation correctly. DifferentialEquation(t) = diff(V_C(t), t) == (V_PS - V_C(t))/(C*R) InitialCondition = V_C(0) == 0 V_C = V_PS - V_PS*exp(-t/(C*R)) Model 'SimpleRC' was exported from R2025a to R2024a. To find blocks that were removed during the export operation, <a href="matlab:slexportprevious.utils.displayReplacedBlocks('SimpleRC')">click here</a>. Save the model to remove this notification. [Warning: Run the simulation in the SimpleRC.slx Simscape model if you want to visualize the results.] [> In CapacitorsChargeDischargeSoln (line 167) In run (line 112) In SolnSmokeTests/SmokeRun (line 94)] [Warning: The resistor is always connected to the capacitor independent of the state of each switch.] [> In CapacitorsChargeDischargeSoln (line 174) In run (line 112) In SolnSmokeTests/SmokeRun (line 94)] The capacitor was storing energy that can be delivered back to the resistor. The energy stored in the capacitor is: U == (1/2)*C*V_C with: U is the energy in joules C is the capacitance in farads V_C is the capacitor voltage [Terse] Diagnostic logged (2025-03-19 14:33:25): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_4719669c-aab8-4419-9c7f-775a21a88e84.png [Terse] Diagnostic logged (2025-03-19 14:33:26): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_0bea5da3-ff19-4e34-9625-2208699d80b7.png .>> Running CapacitorsFundamentalsSoln.mlx Right! Because of the air gap, the capacitor should act as an insulator. [Warning: Run the simulation in the SimpleRC.slx Simscape model if you want to visualize the results. Reopen and run the <a href="matlab: open('SimpleRC.slx')">simulation</a> ] [> In CapacitorsFundamentalsSoln (line 35) In run (line 112) In SolnSmokeTests/SmokeRun (line 94)] Right! It appears that capacitor diplay a conductor behavior during the transient regime when the switch closes, and insulator behavior at steady-state. Correct! The two field add to each other in the same direction. Correct! The two fields cancel out. Correct, the potential would be positive as E is opposed to ds. V == -int(E, s) V == V_top - V_bottom V == (sigma/epsilon_0)*d [Terse] Diagnostic logged (2025-03-19 14:33:30): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_960473eb-22e9-432f-ac42-e4af45b81e62.png [Terse] Diagnostic logged (2025-03-19 14:33:31): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_28269478-c164-4083-9bf3-9e5983bfb19b.png [Terse] Diagnostic logged (2025-03-19 14:33:31): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_75c08b99-1069-4d46-a4ce-45b985b21545.png [Terse] Diagnostic logged (2025-03-19 14:33:32): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_fe803c1e-3a0c-4f7b-93ca-629250543b16.png [Terse] Diagnostic logged (2025-03-19 14:33:32): Figure saved to: --> /tmp/12cad8d6-700e-4bc8-90a4-155f2bd6915d/Figure_e56e59d4-5124-42d6-8e36-4707a9c79fb6.png . Done SolnSmokeTests __________