General
If a new, non-original rear wheel rim is to be used in an electric vehicle, the motor must be re-fitted into it. In the case of hub motors, due to the large diameter of the motor drum, J-bend-shaped spokes are usually used.



Many hub motors use 14-gauge spokes (Ø 2.0 mm), which is perfectly sufficient for proper installation. If you change this, the holes in the motor flange and the rim must correspond. Either you drill the holes yourself or use U-shaped washers. Another option is to use conified (single butted) spokes, which have, for example, 13G (Ø 2.3 mm) at the motor flange but then reduce them to 14G to fit the rim. In my ST3 case, this is the latter.
Valves
Due to the different types of valves, the hole in the valve groove in the rim is also different. At most, a new hose with a new valve must be used after changing the rim.

Braiding
When installing, the spoke length, braiding and spoke diameter are also decisive factors. The braiding is simple on Stromer due to the large spoke angle of 12°.
Nipple
Due to the Spoke breakage problem It is recommended to use nipples with a length of 14 mm (instead of 12 mm) in brass or aluminum versions and with a specially rounded nipple head. More details about this can be found here. here can be read here.
For rims with aluminum eyelets, it is recommended to use brass nipples, since a.) cold welds can occur between aluminum and aluminum with aluminum eyelets, and b.) brass is more resistant to corrosion and therefore more weatherproof.
Spoke length, ERD
The spoke length depends on the used rim, the motor dimensions, the position of the motor in the rear axle (hub shift) and its position relative to the rim center (dishing offset).
Hub Shift = Frame asymmetry (lateral offset of the entire motor axis in the bicycle frame)
Dishing Offset = Wheel asymmetry (outer-center alignment of the rim relative to the hub flanges)
The hub shift moves the axle position on the frame, and the dishing moves the rim on the axle. Both work together to create a functional system for complex drivetrains (like hub motors).

On Stromer, the rims are drilled symmetrically (Right/Left offset = 0 mm) and do not have a hub shift. Due to the Spoke breakage problem In models, Stromer replaces the rim with the Andra 29 from Ryde. The rim has an offset bore and a customized bore pattern.

The ERD (Effective Rim Diameter) indicates the effective rim diameter in millimeters exactly. 26 or 28 inches would be much too inaccurate for this. Actually, the ERD is the maximum distance on the rim base, that is, the two points where two opposing spokes with the nipples on the rim rest against each other. However, the ERD is measured differently. Manufacturers NoTubes and Mavic For example, they measure the rim base. DT Swiss and others already set the ERD of their rims at 3 millimeters, so that the spokes can make good use of the nipple thread. Spokes with the perfect length reach the nipple slot when the finished wheel is assembled.

Spoke tension
During the spoking process, the spoke tension is also taken into account. To be taken into account. Only uniform and correct spoke tensions ensure a stable rim. The mechanical design of the rim determines the maximum spoke tension that can be applied. This is often printed on the rim.

Typical values for S-Pedelec rims are 1100–1300 N. For the above mentioned RYDE Andra 29 the manufacturer specifies a maximum value of 1400 N. With the DT Swiss H 612 and the Rodi are 1200 N.
Calculation example for a ST3, model year 2019
Calculation and the material used:
- Engine: TDCM (default: TDCM IGH, but with 32 holes and 140 mm wheelbase)
- Rim: DT Swiss H 612, ERD = 564 mm
- Spokes: Sapim Strong Spokes 13G/14G J-Bend Black, Single Butted (from Custom Cut Spokes)
- Nipples: Sapim Polyax Brass Nipples – Black – 14G – 14 mm (from Custom Cut Spokes)

Links
Spoke calculator | GRIN Technologies [EN] for rear wheels with hub motor
Explanatory videos:
1 - How to use the spoke calculator for hub motors from ebikes.ca
2 - How to measure hubs and rims for perfect spoke lengths, wheel construction for e-bike hub motors
3 – How to fit a hub motor at home like a pro. The single-cross construction
Basic articles:
There is a good basic article – „The 1×1 of wheel construction“ – available. here from bike-components.de. How the ERD is defined precisely and pragmatically is explained in the Sheldon Brown's website.
Engine repairs:
There are various providers who repair electric bike hubs and also fit new rims. Here to the corresponding topic on my website.