Run a sweep

A sweep runs the same drone many times and changes one or more inputs a little each time. Use it to see how the thrust, the current or the flight time change with the throttle, the airspeed, the propeller or anything else on the page. You do it in one run, so you don't have to change a value and press Run again and again.

Add a sweep

  1. Fill in your drone on the Simulate page as usual.
  2. Click "Add sweep" in the line "Sweep".
  3. Under "Input", choose what to change. You can choose the throttle, the tilt, the motor, the propeller, the battery, the start charge, the airspeed, the vertical speed, the air density, the timing advance or the PWM frequency.
  4. If you have more than one rotor, choose which rotors the sweep changes.
  5. Give the values. With "Range", type where to start, where to stop and how many steps. With "List", type each value. The dialog lists the values it will use.
  6. Click "Add sweep".

A field that holds a sweep shows its range, for example 20 to 95 %, and gets a yellow line. The line "Sweep" lists each sweep and says how many runs, called points, they make together.

You can add more than one sweep. Their points multiply. A throttle sweep of 16 steps and a sweep of 3 motors make 48 points. Every point costs compute units, so check the number beside "Run". A sweep that needs more units than you have left today does not start. Without an account, the page tells you how many points a sweep can have before you run it.

Read the result

The top block of the result covers all the points. Its head says how many points settled, for example "16 of 16 points settled". It has two tabs.

  • "Plots" draws charts. For each chart, choose the value to measure in "Value", the rotors in "Of", and the swept input to put on the axis in "Across". The chart is a line over a swept number and bars over a list of parts. With two swept inputs, choose the second in "Up" and the chart becomes a heat map. Click "Add chart" for more charts. Each chart has its own "Export picture" and "Remove chart".
  • "Data" lists every point in a table, one row for each, with the outcome and the main numbers. "Values of" chooses all rotors or one rotor, and "Starred only" shows the points you starred. Click a column head to sort. "Export these rows" saves what you see, and "Export all values" saves every point.

The bottom block shows one point, as the result of an ordinary run. Use "Previous" and "Next", or a slider and a list for each swept input, to move between points. "Run this point alone" runs just that point.

A real example

This sweep ran one rotor on a 4S battery. It swept the throttle from 40 to 85 % in four steps and the airspeed from 0 to 15 m/s in four steps, so 16 points.

A real example
ThrottleAirspeedThrustThrust per watt
70 %0 m/s529 g2.94 g/W
70 %15 m/s472 g2.56 g/W
85 %0 m/s686 g2.76 g/W
85 %15 m/s627 g2.46 g/W

Above 5 m/s, more airspeed gives less thrust at every throttle in this run. A heat map of thrust, with the throttle across and the airspeed up, shows this at a glance.

Points that don't settle

Sometimes a point ends without a clean reading. The head of the result counts them, for example "16 of 17 points read, 1 did not settle, 1 stopped".

In a chart, a point that did not settle has a reading, drawn as a hollow dot on the line. A point that stopped or could not start has no reading. The line has a gap there, and a cross sits just above the axis. Move to that point to read why it stopped. See The test bench for what each state means.