Skip to content

pyflightstream.post.qsteady (stable)

Generated from the docstrings at build time: every one of the 32 names in the __all__ of pyflightstream.post.qsteady has an entry below. The names a guide or an example uses come first; the others follow under Advanced.

The quasi-steady rotor's products: its clockings, their average and its validity.

A qsteady_rotor point is one steady solve of a periodic sector, or the steady solves of a whole wheel at PASSAGE_POSITIONS clockings inside one blade passage. The run leaves, beside the point's own loads export, the point's quasi-steady record (<point>_qsteady.json: the case, the rotor, each clocking and the loads export it wrote, the plan's validity record) and one loads export per further clocking. This module reads them (the record as :class:pyflightstream.cases.qsteady.QsteadyRecord, through its one reader, which the product stage calls) and writes:

  • the CLOCKINGS table, polars/P<sim>-<ALIAS>_qs_positions.csv: one row per point and clocking, the rotor's loads and each blade's at that clocking, the shape of the unsteady rotor's phase-locked table (one row per azimuth);
  • the AVERAGE table, polars/P<sim>-<ALIAS>_qs_avg.csv: one row per point, the mean over its clockings, the shape of the unsteady time average;
  • for a WHEEL point, the loads its row of the rotor table is taken from: each surface's mean over the clockings (:func:mean_clocking_surfaces);
  • for a WHEEL point, every clocking's rows in the point's sections table, each with its CLOCKING and each blade's own AZIMUTH at that clocking (:func:add_clockings_to_sections), the wheel exporting its section distributions at every clocking;
  • the 1P reduced frequency of each station (K_1P) in the point's sections table, and the point's validity columns (:data:VALIDITY_COLUMNS) in all three, and in the point's row of the super file;
  • for a WHEEL point, the per-point validity file <point>_qsteady_validity.json in its datapoint folder, beside the run's record (:func:write_point_validity_file), which carries the thrust and torque shares from the stations above k = 0.1;
  • for a WHEEL point, the rotor state its correction routes read (:data:STATE_COLUMNS, :func:rotor_state): the thrust coefficient in the rotor and the propeller conventions, the advance ratio, the climb and induced inflows and the wake skew, from the mean loads over its clockings, beside the validity columns in the average table and in the per-point validity file.

The loads are the rotor's force in N and its moment about its HUB in N m, in the loads frame's axes, and the thrust and torque along its shaft, each by :func:pyflightstream.post.products.rotor_shaft_loads, which the product stage hands in so that this module computes no statics of its own.

Size exemption: one reading of a quasi-steady record, the clockings, the wheel's sections, the validity and the rotor state of one point, with the run block that opens each row of the tables.

THE VALIDITY. k = Omega c / (2 V_rel) per station (:mod:pyflightstream.cases.qsteady). From the sectional loads export where the point has one: its Chord at its Offset, read as the radius of a distribution cut along the blade from the hub (a block of the rotor in the record's layout); the shares of thrust and torque from the stations above 0.1 then take each station's sectional force projected on the rotor's axis in the frame its distribution was cut in (through :func:pyflightstream.post.axes.section_station_shaft_loads), and its moment about the axis, each per unit span, over the stations' strips. Else the plan's estimate from the mesh, with the shares NA. The definitions page states both and what is not measured.

Advanced

pyflightstream.post.qsteady.AVERAGE_SPINE module-attribute

AVERAGE_SPINE: tuple[str, ...] = (
    POLAR_ID_COLUMN,
    "REDUCTION",
    "ROTOR",
    "POSITIONS",
    *CONTEXT_COLUMNS,
    "XMOM",
    "YMOM",
    "ZMOM",
)

pyflightstream.post.qsteady.AVERAGE_SUFFIX module-attribute

AVERAGE_SUFFIX = '_qs_avg.csv'

pyflightstream.post.qsteady.CLOCKING_COLUMN module-attribute

CLOCKING_COLUMN = 'CLOCKING'

pyflightstream.post.qsteady.ClockedSections dataclass

ClockedSections(
    missing: dict[int, str], misaligned: list[str]
)

What :func:add_clockings_to_sections could not do, for the post to say.

missing maps a clocking to why its rows are not in the table (the post names each under the table); misaligned names each clocking whose stations are not clocking 0's (the post warns, and the rows are kept).

pyflightstream.post.qsteady.Clocking dataclass

Clocking(
    index: int,
    azimuth_deg: float | None,
    loads: tuple[float | None, ...],
)

One clocking of one wheel point: where blade one is, and the loads.

azimuth_deg is None where the record does not state where blade one is (the product writes NA).

pyflightstream.post.qsteady.ClockingMean dataclass

ClockingMean(
    surfaces: dict[str, dict[str, float]], clockings: int
)

A wheel point's surfaces, each the mean of its loads over the point's clockings.

surfaces holds the loads export's six components per surface, as coefficients by the point's own reference velocity, so the rotor table turns them into its coefficients by the same statics as any steady point's; clockings is k, the number of clockings the mean is over.

pyflightstream.post.qsteady.GEOMETRY_SECTION_FRAMES module-attribute

GEOMETRY_SECTION_FRAMES = frozenset({'MRP'})

pyflightstream.post.qsteady.LOAD_NAMES module-attribute

LOAD_NAMES: tuple[str, ...] = (
    "FX",
    "FY",
    "FZ",
    "MX",
    "MY",
    "MZ",
    "THRUST",
    "TORQUE",
)

pyflightstream.post.qsteady.POSITIONS_SUFFIX module-attribute

POSITIONS_SUFFIX = '_qs_positions.csv'

pyflightstream.post.qsteady.POSITION_SPINE module-attribute

POSITION_SPINE: tuple[str, ...] = (
    POLAR_ID_COLUMN,
    "REDUCTION",
    "ROTOR",
    "AZIMUTH",
    "POSITION",
    "POSITIONS",
    *CONTEXT_COLUMNS,
    "XMOM",
    "YMOM",
    "ZMOM",
)

pyflightstream.post.qsteady.PointValidity dataclass

PointValidity(
    values: dict[str, object], notes: tuple[str, ...] = ()
)

The validity of one quasi-steady wheel point, as its products carry it.

notes are what the post says about the values in its log, one line each: a share written NA and why.

cells

cells() -> tuple[object, ...]

Return the point's values of :data:VALIDITY_COLUMNS, None where not known.

pyflightstream.post.qsteady.RotorState dataclass

RotorState(
    values: dict[str, float | None],
    notes: tuple[str, ...] = (),
)

A wheel point's rotor state: the values of :data:STATE_COLUMNS.

notes are what the post says about them in its log, one line each: a value written NA and why.

cells

cells() -> tuple[float | None, ...]

Return the values of :data:STATE_COLUMNS, None where not known.

pyflightstream.post.qsteady.STATE_COLUMNS module-attribute

STATE_COLUMNS: tuple[str, ...] = (
    "CT_ROTOR",
    "CT_PROPELLER",
    "MU_ROTOR",
    "LAMBDA_C",
    "LAMBDA_I",
    "CHI_DEG",
)

pyflightstream.post.qsteady.STATION_COLUMN module-attribute

STATION_COLUMN = 'K_1P'

pyflightstream.post.qsteady.STATION_TOLERANCE module-attribute

STATION_TOLERANCE = 0.001

pyflightstream.post.qsteady.SURFACE_COMPONENTS module-attribute

SURFACE_COMPONENTS: tuple[str, ...] = (
    "Cx",
    "Cy",
    "Cz",
    "CMx",
    "CMy",
    "CMz",
)

pyflightstream.post.qsteady.ShaftLoads module-attribute

ShaftLoads = Callable[..., Any]

pyflightstream.post.qsteady.VALIDITY_COLUMNS module-attribute

VALIDITY_COLUMNS: tuple[str, ...] = (
    "K_1P_MIN",
    "K_1P_MAX",
    "K_1P_MEAN",
    "SPAN_PCT_K_GT_0_05",
    "SPAN_PCT_K_GT_0_1",
    "THRUST_PCT_K_GT_0_1",
    "TORQUE_PCT_K_GT_0_1",
    "K_1P_SOURCE",
)

pyflightstream.post.qsteady.WheelPoint dataclass

WheelPoint(
    pol: str,
    condition: Mapping[str, object],
    record: QsteadyRecord,
    clockings: list[Clocking],
    validity: PointValidity,
    state: RotorState | None = None,
    point: str | None = None,
)

What the two tables need of one point.

pyflightstream.post.qsteady.add_clockings_to_sections

add_clockings_to_sections(
    path: Path,
    record: QsteadyRecord,
    folder: Path,
    *,
    tabled: Callable[[Path, str], Path | None],
) -> ClockedSections

Give a wheel point's sections table every clocking's rows.

path is the table written from the point's own sectional loads export, clocking 0. Each further clocking's export, named by the point's record (:func:clocking_section_export) and read beside the point's exports in folder, is tabled by tabled (the product stage's own writer of a sections table, with the point's layout and condition) and its rows are appended after clocking 0's, in the order of the clockings. The table gains :data:CLOCKING_COLUMN after its own columns, and AZIMUTH states each block's blade at that clocking, with the rotor in ROTOR (:func:wheel_block_identity), on every row, clocking 0 included.

Every clocking is cut at the same stations by construction; a clocking whose blocks, planes or offsets differ from clocking 0's (to :data:STATION_TOLERANCE of the largest offset) is named in the result and its rows are kept. A clocking whose export is not named, not on disk or not readable is named and left out, and the table keeps the others.

Parameters:

Name Type Description Default
path Path

The sections table written from clocking 0's export, rewritten in place.

required
record QsteadyRecord

The point's quasi-steady record.

required
folder Path

The folder holding the point's exports.

required
tabled callable

The product stage's writer of a sections table, called with a scratch path and an export's text; it returns the path written, or None.

required

Returns:

Type Description
ClockedSections

The clockings left out and why, and the clockings whose stations differ from clocking 0's.

pyflightstream.post.qsteady.add_reduced_frequency_to_sections

add_reduced_frequency_to_sections(
    path: Path,
    record: QsteadyRecord,
    *,
    velocity_m_per_s: float,
    layout: Sequence[Mapping[str, object]] | None = None,
) -> PointValidity | None

Give a wheel point's sections table K_1P per station and the point's validity.

The stations are the rows the record's layout gives to the rotor (ROTOR); their radius is |Offset| and their chord Chord. The point's summary is taken over the rows of the rotor's FIRST blade family present (FAMILY), or over every rotor row where the layout names no family, so a wheel's six blades do not count one station six times, and over clocking 0's rows where the table holds every clocking (:data:CLOCKING_COLUMN), the point's own solve. The table is rewritten in place with K_1P and :data:VALIDITY_COLUMNS after its own columns; a row of no rotor reads NA in K_1P.

THE SHARES ARE TAKEN ALONG THE ROTOR'S AXIS. Each station's sectional force, the export's Fx and Fz in the axes of the frame its distribution was cut in (layout, the run's sections_layout, read by FAMILY and PLANE), is projected on the record's axis_vector stated in that frame (:func:shaft_in_section_frame) by :func:pyflightstream.post.axes.section_station_shaft_loads: the thrust per unit span is the force along the axis and the torque per unit span its moment about the axis, from the in-plane (tangential) component at the station's Offset. in legacy releases the export's Fx was the thrust and Fz |Offset| the torque, which holds only for a frame whose x is the shaft. A caller holding no layout states that the sections are cut in the rotor's own frames. A share is NA, with a line in :attr:PointValidity.notes, where a station's frame or plane is not one whose axes are known, where the total is zero, or where stations of opposite sign put the share outside 0 to 100 per cent: the total then has no sign a share of it could be read against. A station of the blade the shares are taken over whose Fx, Fz, Chord or Offset is NA or unreadable makes BOTH shares NA, with a note naming the station (invariant 8: an NA is never read as a zero load).

Parameters:

Name Type Description Default
path Path

The point's sections table, rewritten in place.

required
record QsteadyRecord

The point's quasi-steady record.

required
velocity_m_per_s float

The point's free-stream speed, in m/s.

required
layout sequence of mapping

The run's sections_layout; without it the sections are taken as cut in the rotor's own frames.

None

Returns:

Type Description
PointValidity or None

None, and the table untouched, where no row is the rotor's.

pyflightstream.post.qsteady.clocking_section_export

clocking_section_export(
    position: QsteadyClocking, kind: str
) -> str | None

Return a clocking's section export of kind as the point's record names it, or None.

The record of a wheel that cuts sections names, per clocking, the file of each section export the script wrote (section_exports), keyed by the export kind (sectional_loads, sections, plot_sections_cp). None for a kind the clocking did not export and for every record written in legacy releases, whose wheel exported its sections at clocking 0 only.

Parameters:

Name Type Description Default
position QsteadyClocking

One clocking of the record.

required
kind str

The export kind, sectional_loads, sections or plot_sections_cp.

required

Returns:

Type Description
str or None

The export's file name, or None.

pyflightstream.post.qsteady.clockings_of

clockings_of(
    record: QsteadyRecord,
    folder: Path,
    *,
    reference: Any,
    density_kg_m3: float,
    shaft_loads: ShaftLoads,
) -> list[Clocking]

Return the loads of every clocking of one point, or refuse naming why they cannot be read.

Each clocking's loads export is read where the point's own sits, and the rotor's and each blade's loads taken by shaft_loads (:func:pyflightstream.post.products.rotor_shaft_loads) at that export's reference velocity and the point's density.

Where blade one is at each clocking is the sections table's own reading, :func:~pyflightstream.post.axes.clocked_blade_azimuth_deg: datum + sign(rpm) * theta_i, so a left-hand wheel's clocking turns blade one backwards here as it does there. in legacy releases this added theta_i unsigned, and the two tables of one left-hand wheel disagreed.

Parameters:

Name Type Description Default
record QsteadyRecord

The point's quasi-steady record.

required
folder Path

The folder holding the point's exports.

required
reference object

The point's reference block, its lengths and moment point; None where the run recorded none.

required
density_kg_m3 float

The point's density, in kg/m3.

required
shaft_loads callable

Takes the rotor's and each blade's loads from an export's surfaces.

required

Returns:

Type Description
list of Clocking

The clockings' loads, by clocking index.

Raises:

Type Description
ProductError

When a clocking's loads cannot be read, the message naming the clocking and the reason; a refusal is never returned as a value.

pyflightstream.post.qsteady.load_columns

load_columns(record: QsteadyRecord) -> tuple[str, ...]

Return the loads columns of a rotor's tables: the rotor's, then each blade's.

Parameters:

Name Type Description Default
record QsteadyRecord

The point's quasi-steady record.

required

Returns:

Type Description
tuple of str

Each load name of :data:LOAD_NAMES suffixed by the rotor alias, then by each blade family.

pyflightstream.post.qsteady.mean_clocking_surfaces

mean_clocking_surfaces(
    record: QsteadyRecord, folder: Path, *, speed_m_s: float
) -> ClockingMean

Return a wheel point's loads averaged over its clockings, or refuse naming why not.

The rotor table of a quasi-steady WHEEL point is the mean over its k clockings (P0310-ROTOR-MEAN), never clocking 0 alone. Each clocking's loads export, named by the point's record and read where the point's own sits, states every surface's force and moment as coefficients by that export's reference velocity; each is taken back to the point's own speed_m_s (a factor (V_ref,i / V_ref)^2, the density being the point's at every clocking) and each surface's six components are averaged over the clockings by the one average of the clockings tables. The rotor's force and its moment about the hub are sums over its surfaces and a transfer linear in them, so the rotor's force and moment from these surfaces ARE the mean of its force and moment over the clockings, and every coefficient the table takes from them (CT, CQ, CP, ETA, ETAW, CN, CS, CMN, CMS) is of the mean loads, never a mean of per-clocking coefficients.

A clocking whose export is not on disk or not readable, that states no reference velocity, is in another analysis frame than clocking 0's, or lists other surfaces or lacks a numeric surface component, is the reason the call refuses with: the point is not a row, because a mean of the other clockings is not the point's mean.

Parameters:

Name Type Description Default
record QsteadyRecord

The point's quasi-steady record.

required
folder Path

The folder holding the point's exports.

required
speed_m_s float

The point's own free-stream speed, in m/s, which every clocking's coefficients are taken back to.

required

Returns:

Type Description
ClockingMean

The surfaces' loads averaged over the clockings and the number of clockings.

Raises:

Type Description
ProductError

When the point is not a row, the message naming the clocking and the reason; a refusal is never returned as a value.

pyflightstream.post.qsteady.radius_from_the_hub

radius_from_the_hub(
    frame: str | None,
    plane: str,
    offset: float,
    *,
    hub_m: Sequence[float] | None,
    axis_vector: Sequence[float] | None,
    rotor_alias: str | None = None,
    moment_point_m: Sequence[float] | None = None,
) -> float | None

Return a station's Offset measured from the hub, or None where it cannot be placed.

A frame of the rotor has the hub for its origin, so Offset is the radius. A frame of :data:GEOMETRY_SECTION_FRAMES (and a clocking's copy of one, turned about the shaft through the hub) has the moment point for its origin: the station r = Offset e_n (e_y of an XZ cut, e_z of an XY cut) is Offset - (hub - moment_point) . e_n from the hub along the blade, and only while the relative hub sits on the plane's radial line, (hub - moment_point) . (a x e_n) zero; off it, Offset does not place the station and the radius is None.

Parameters:

Name Type Description Default
frame str or None

Section coordinate-system name, including a clocking suffix where present.

required
plane str

Cut plane, XY or XZ for a geometry-frame radial cut.

required
offset float

Native section offset in m.

required
hub_m sequence of float or None

Rotor hub coordinates in the geometry frame, in m.

required
axis_vector sequence of float or None

Rotor shaft direction in the geometry frame.

required
rotor_alias str or None

Alias identifying the rotor's hub frames. Other frames cannot place a station.

None
moment_point_m sequence of float or None

Recorded MRP origin in geometry coordinates, metres. Missing historical origins leave MRP radii unavailable rather than assuming zero.

None

Returns:

Type Description
float or None

Station radius from the hub in m, or None when the geometry cannot place it.

pyflightstream.post.qsteady.rotor_state

rotor_state(
    record: QsteadyRecord,
    clockings: Sequence[Clocking],
    *,
    density_kg_m3: float | None,
    velocity_m_s: float | None,
    alpha_deg: float,
    beta_deg: float,
) -> RotorState

Return a wheel point's rotor state from the mean thrust over its clockings.

T is the rotor's thrust along its axis, the mean over the clockings of THRUST_<alias> (the one average of the clockings tables, which is the thrust of the rotor table's mean loads); rho the point's density, V its free-stream speed, Omega = 2 pi |rpm| / 60, n = |rpm| / 60, R = D / 2 and A = pi R^2 of the record's rotor, and alpha_p the angle between the rotor's axis and the direction of flight (:func:pyflightstream.post.axes.free_stream_on_rotor_axis)::

CT_ROTOR     = T / (rho A (Omega R)^2)
CT_PROPELLER = T / (rho n^2 D^4)
MU_ROTOR     = V sin(alpha_p) / (Omega R)
LAMBDA_C     = V cos(alpha_p) / (Omega R)
LAMBDA_I     = CT_ROTOR / (2 sqrt(MU_ROTOR^2 + (LAMBDA_C + LAMBDA_I)^2))
CHI_DEG      = atan2(MU_ROTOR, LAMBDA_C + LAMBDA_I)   in degrees

LAMBDA_I by :func:pyflightstream.cases.qsteady.glauert_induced_inflow. A value that cannot be taken is None with a line in :attr:RotorState.notes: a thrust not known at every clocking, a density, speed or rotor that is not stated, or an induced inflow that does not converge (and CHI_DEG with it).

Parameters:

Name Type Description Default
record QsteadyRecord

The point's quasi-steady record.

required
clockings sequence of Clocking

The point's clockings, from :func:clockings_of.

required
density_kg_m3 float or None

The point's density, in kg/m3.

required
velocity_m_s float or None

The point's free-stream speed, in m/s.

required
alpha_deg float

The point's angle of attack, in degrees.

required
beta_deg float

The point's sideslip angle, in degrees.

required

Returns:

Type Description
RotorState

The values of :data:STATE_COLUMNS, None where they cannot be taken, and the notes that say why.

pyflightstream.post.qsteady.shaft_in_section_frame

shaft_in_section_frame(
    record: QsteadyRecord, frame: str
) -> tuple[float, float, float] | None

Return the rotor's axis in the axes of section frame frame, or None.

A frame of the record's rotor, <ALIAS>_SMRP, <ALIAS>_RMRP or a blade's <ALIAS>_RMRP<k>, and each clocking's copy of one (<frame>_QS<ii>), is the hub frame turned about the shaft, and the hub frame is built with the shaft on its axis shaft_frame_axis (the rotor's letter, or Z of a shaft stated as a vector): in its own axes the rotor's axis axis_vector is that unit axis, whatever the turn. A frame of :data:GEOMETRY_SECTION_FRAMES keeps the geometry's axes, in which the axis is axis_vector itself. Any other frame (one a setup creates, a hub frame kept from before a row's rotation) is None: its axes are not the package's to know.

Parameters:

Name Type Description Default
record QsteadyRecord

The point's quasi-steady record.

required
frame str

The section frame's name, as the layout records it.

required

Returns:

Type Description
tuple of float or None

The rotor's axis in the frame's axes, or None for a frame whose axes are not known.

pyflightstream.post.qsteady.validity_of_the_plan

validity_of_the_plan(
    record: QsteadyRecord,
) -> PointValidity

Return the validity the plan estimated from the mesh, the shares not known.

Parameters:

Name Type Description Default
record QsteadyRecord

The point's quasi-steady record.

required

Returns:

Type Description
PointValidity

The plan's reduced-frequency summary, its source mesh and no shares; empty where the record holds no plan.

pyflightstream.post.qsteady.wheel_block_identity

wheel_block_identity(
    record: QsteadyRecord,
    families: Sequence[str],
    clocking: int,
) -> tuple[str | None, float | None]

Return the ROTOR and AZIMUTH a wheel point's block of sections states.

The rotor is the record's where it owns every family of the block, else None. A block of ONE blade states where THAT blade is at clocking (:func:~pyflightstream.post.axes.clocked_blade_azimuth_deg); any other block of the rotor states where blade one is, which is what AZIMUTH means in every other sections table; a block no rotor owns states none.

Parameters:

Name Type Description Default
record QsteadyRecord

The point's quasi-steady record.

required
families sequence of str

The families of the block.

required
clocking int

The clocking the block was cut at.

required

Returns:

Type Description
tuple of (str or None, float or None)

The rotor alias and the azimuth in degrees; (None, None) for a block no rotor owns.

pyflightstream.post.qsteady.write_point_validity_file

write_point_validity_file(
    loads_path: Path,
    record: QsteadyRecord,
    validity: PointValidity,
    state: RotorState | None = None,
    *,
    prepare: Callable[[Path], Path] | None = None,
    overwrite: bool = True,
) -> Path

Write a wheel point's validity after the run, beside its loads export.

<point>_qsteady_validity.json in the point's datapoint folder, next to the run's own <point>_qsteady.json: the values of :data:VALIDITY_COLUMNS (K_1P_MIN, K_1P_MAX, K_1P_MEAN, the span above 0.05 and above 0.1, and the SHARES OF THRUST AND TORQUE from the stations above k = 0.1), where they come from (K_1P_SOURCE: sections after the run, mesh the plan's estimate, whose shares are null), and the plan's record as the run kept it. The run's record is a hashed input of the run and is never rewritten; this file is the post's, rewritten by every post. it carries the point's rotor state (rotor_state, the values of :data:STATE_COLUMNS, null where not known or where state is not given).

Parameters:

Name Type Description Default
loads_path Path

The point's own loads export; the file is written beside it.

required
record QsteadyRecord

The point's quasi-steady record.

required
validity PointValidity

The point's validity.

required
state RotorState

The point's rotor state; its values are null where not given.

None
prepare callable

Takes the destination and returns the path to write, archiving a file already there (the post's archive rule); the destination is written as it stands when omitted.

None
overwrite bool

Replace a validity file already there, as the writer always did (the default); False refuses it, naming it, before anything is written. The post passes its own overwrite (FR-2322).

True

Returns:

Type Description
Path

The file written.

Raises:

Type Description
ProductExistsError

If a validity file is already there and overwrite is false.

pyflightstream.post.qsteady.write_qsteady_tables

write_qsteady_tables(
    positions_path: Path,
    average_path: Path,
    points: Sequence[WheelPoint],
    *,
    reference: Any,
    overwrite: bool = True,
) -> tuple[Path, Path] | None

Write the clockings table and the average table of one rotor of one simulation.

Returns None, writing nothing, where no point holds a clocking.

Parameters:

Name Type Description Default
positions_path Path

The clockings table to write.

required
average_path Path

The average table to write.

required
points sequence of WheelPoint

The rotor's wheel points of the simulation.

required
reference object

The point's reference block, its lengths and moment point; None where the run recorded none.

required
overwrite bool

Replace a file that already exists, as the writer always did (the default). False refuses an existing file, naming it, before it is replaced.

True

Returns:

Type Description
tuple of (Path, Path) or None

The two tables written, or None where no point holds a clocking.

Raises:

Type Description
ProductError

If usable points have inconsistent rotor or blade load columns.