|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": 1, |
| 5 | + "execution_count": null, |
6 | 6 | "metadata": {}, |
7 | 7 | "outputs": [], |
8 | 8 | "source": [ |
|
22 | 22 | "cell_type": "markdown", |
23 | 23 | "metadata": {}, |
24 | 24 | "source": [ |
25 | | - "The goal of this notebook is to demonstrate the Benchmarking feature offered for Prognostic Models. Specifically, we will demonstrate how to benchmark the computational efficiency of models with a simple example." |
| 25 | + "The goal of this notebook is to demonstrate the Benchmarking feature offered for Prognostic Models. Specifically, we will demonstrate via a simple example how to benchmark the computational efficiency of models!" |
26 | 26 | ] |
27 | 27 | }, |
28 | 28 | { |
|
35 | 35 | }, |
36 | 36 | { |
37 | 37 | "cell_type": "code", |
38 | | - "execution_count": 2, |
| 38 | + "execution_count": null, |
39 | 39 | "metadata": {}, |
40 | 40 | "outputs": [], |
41 | 41 | "source": [ |
|
56 | 56 | "cell_type": "markdown", |
57 | 57 | "metadata": {}, |
58 | 58 | "source": [ |
59 | | - "Next, let's initialize our Battery Circuit by creating a model object." |
| 59 | + "Next, let's initialize our Battery Circuit by creating model object." |
60 | 60 | ] |
61 | 61 | }, |
62 | 62 | { |
63 | 63 | "cell_type": "code", |
64 | | - "execution_count": 3, |
| 64 | + "execution_count": null, |
65 | 65 | "metadata": {}, |
66 | 66 | "outputs": [], |
67 | 67 | "source": [ |
|
74 | 74 | "cell_type": "markdown", |
75 | 75 | "metadata": {}, |
76 | 76 | "source": [ |
77 | | - "Then, for our model, we will need to define a future loading function. More information on what a future loading function is and how to use it can be found here: https://nasa.github.io/progpy/prog_models_guide.html#future-loading" |
| 77 | + "Then, for our model, we would need to define a future loading function. More information on what a future loading function is and how to use it can be found here: https://nasa.github.io/progpy/prog_models_guide.html#future-loading" |
78 | 78 | ] |
79 | 79 | }, |
80 | 80 | { |
|
87 | 87 | }, |
88 | 88 | { |
89 | 89 | "cell_type": "code", |
90 | | - "execution_count": 4, |
| 90 | + "execution_count": null, |
91 | 91 | "metadata": {}, |
92 | 92 | "outputs": [], |
93 | 93 | "source": [ |
|
103 | 103 | "cell_type": "markdown", |
104 | 104 | "metadata": {}, |
105 | 105 | "source": [ |
106 | | -<<<<<<< Updated upstream |
107 | | - "Since this is a simple example, we are going to have a constant loading!" |
108 | | - ] |
109 | | - }, |
110 | | - { |
111 | | - "attachments": {}, |
112 | | - "cell_type": "markdown", |
113 | | - "metadata": {}, |
114 | | - "source": [ |
115 | | - "Finally, we are ready to benchmark the simulation.\n", |
116 | | -======= |
117 | 106 | "Finally, we are going to need to benchmark the simulation!\n", |
118 | | ->>>>>>> Stashed changes |
119 | 107 | "\n", |
120 | | - "We can do this by using the `timeit()` function and pass in our `simulate_to()` or `simulate_to_threshold()` function for the `stmt` argument. For more information regarding the `timeit()` function, please read its documentation located here: https://docs.python.org/3/library/timeit.html" |
| 108 | + "We can do this by using the `timeit()` function and pass in our `simulate_to()` or `simulate_to_threshold()` function for the `stmt` argument. For more information regarding the `timeit()` function, please read it's documentation located here: https://docs.python.org/3/library/timeit.html" |
121 | 109 | ] |
122 | 110 | }, |
123 | 111 | { |
|
137 | 125 | "cell_type": "markdown", |
138 | 126 | "metadata": {}, |
139 | 127 | "source": [ |
140 | | - "In this example, we are benchmarking the simulation for the BatteryCircuit model up to 600 seconds. Furthermore, we define our `number` argument to be 500 for sake of runtime." |
| 128 | + "In this example, we would be benchmarking the simulation for the BatteryCircuit model up to 600 seconds. Furthermore, we will define our `number` argument to be 500 for sake of runtime." |
141 | 129 | ] |
142 | 130 | }, |
143 | 131 | { |
|
0 commit comments