One point I don't see mentioned, if you really do need to generate 13 volts from your LiPO...
Your nominal 14.8 volt battery sounds like it has 4 cells. The typical cell voltage for common lithium batteries is 3.7 volts, times four gives 14.8.
A fully charge cell is usually 4.2 volts (there are chemistry variations that range up to 4.35 volts or so).
A completely discharged cell will have a voltage around 3.0 volts, and the cell impedance will increase, so under load the output voltage will be lower than expected. And discharging below a couple of volts or so will permanently damage the cell, so have some sort of low voltage cut-off.
So your battery voltage will range from something like 12 volts up to 16.8 volts, so to truly generate 13 volts requires a boost-buck converter.
Sure, the electromagnet will work at 12 volts with only a slight degradation, but in general, always design your power supply to accommodate the full range of the expected battery voltage. This is tricky when that voltage goes both above and below your output voltage.