Skip to content

[EMTC] Implemented Major Output Calculations + Motor Torque Graph #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 75 additions & 13 deletions electric-motor-torque-curve/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@

<head>
<link rel="stylesheet" type="text/css" href="main.css" />
<script src="https://cdn.plot.ly/plotly-2.20.0.min.js"></script>

</head>

<body>

<h1>Input</h1>

<p>
Expand Down Expand Up @@ -63,26 +66,85 @@ <h1>Input</h1>
<input type="text" id="rated_current" name="rated_current" />
<br />
<br />
</p>

----------------------------------------
<label for="target_torque">Target Torque (Nm):</label>
<input type="text" id="target_torque" name="target_torque" />
<br />
<br>

<h1>Output</h1>
<p></p>
<button onclick="execute();">Submit</button>
<br />

</p>

<p>Math in Action</p>
<code id="display_voltage_rated"></code> + <code id="display_voltage_supplied"></code> + <code
<!-- <code id="display_voltage_rated"></code> + <code id="display_voltage_supplied"></code> + <code
id="display_no_load_torque"></code> + <code id="display_rated_torque"></code> + <code
id="display_no_load_speed"></code> +
<code id="display_rated_speed"></code> + <code id="display_no_load_current"></code> +
<code id="display_rated_current"></code>

<h3>Result</h3>
<code id="display_rated_current"></code> -->

<code id="result"></code>
<br />
<br />
<br />
<h1>Output</h1>
<h2>Math in Action</h2>

<p>Max Torque:</p>


<br>
<br>

<p>Max Current:</p>

<br>
<br>

<p>Max Power:</p>


<br>
<br>

<p> Motor Torque graph</p>
<div id="Motor_Torque" style="width:600px;height:600px;"></div>

<br>
<br>


<h2>Results:</h2>

<p> Max Torque:</p>
<code id="max_torque"></code>
<br>
<br>

<p> Max Current:</p>
<code id="max_current"></code>
<br>
<br>

<p> Max Power:</p>
<code id="max_power"></code>
<br>
<br>

<h2>Limited Torque</h2>

<p> RPM @ Limited Torque:</p>
<code id="limited_RPM"></code>
<br>
<br>

<p> Power @ Limited Torque:</p>
<code id="limited_Power"></code>
<br>
<br>

<p> Limited Electrical Power [W]:</p>
<code id="limited_electrical"></code>
<br>
<br>

<button>Share Results</button>

<br />
Expand All @@ -92,4 +154,4 @@ <h3>Result</h3>
<script src="main.js"></script>
</body>

</html>
</html>
3 changes: 1 addition & 2 deletions electric-motor-torque-curve/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ h1 {
font-family: "Lucida Console", "Courier New", monospace;
}

p {
}

Loading