Repository navigation
CableXSec 0.2.3 records how the global analysis that produced a set of histories was made, and checks that the analysed line's wave kinematics came from a wave grid that covered and resolved it.
-
New default refusal.
read_cabledyn_sectionsnow refuses a CableDyn run whose provenance record shows one of two problems:- the analysed line outside the wave grid;
- a wave-grid resolution finding.
wave_grid_check="warn"reads such a run with a warning. A run without a record reads as before. -
Results are unchanged: mechanical, thermal, fatigue and contact. The validation table is the same as in 0.2.2.
Every result in the validation table is reproduced by python validation/scripts/run_validation.py. Measured comparisons that miss their targets are reported as failed.
The Python interfaces are versioned but may change before 1.0.0. The full list of changes is in CHANGELOG.md. The tag v0.2.3 is an annotated tag; it is not signed.
Installation
python -m pip install "cablexsec[fast] @ git+https://github.com/SMI-Lab-Inha/CableXSec.git@v0.2.3"
or install the attached wheel. SHA256SUMS.txt lists the checksums of the attached files.
Added
Global-analysis provenance
Every set of global histories carries a GlobalProvenance record (cablexsec.io.global_provenance) holding:
- the global solver, with its version and host program;
- the wave route;
- the fingerprint of the wave components, which identifies the sea when a coupled run records no seed;
- the seed and input file of a standalone run;
- the grid;
- per line: the nodes outside the wave grid, the resolution flags and the spectrally weighted velocity ratio.
Sources:
-
CableDyn's provenance file (schema
cabledyn.provenance/1), found beside each result file:Result file Record x.CD.outx.CD.provenance.jsonx.FarmCD.outx.FarmCD.provenance.jsonx.outx.CD.provenance.json -
Otherwise, the wave-grid messages of the run log (
log=,read_cabledyn_log). -
A declared program, through
declared_provenance. -
Without any of these, the fields are recorded as unknown, and the read does not fail.
Where the record goes: CableDynRead.provenance, every section history, the LoadCaseSeries of every reader, the exchange CSV (a # global_provenance: line), project files, the sea-state batch manifest and the provenance of fatigue_from_series. A series without a record writes and encodes exactly as before.
Wave-grid policy for the analysed line
check_wave_kinematics refuses (wave_grid_check="error", the default) or warns about ("warn") an analysed line in either case:
- its own nodes lie outside the wave grid, with a weighted velocity ratio above
wave_grid_tolerance(default 0.01); when the ratio is not recorded, any such node counts; - the run records any grid resolution finding, which concerns every line in the water.
Nodes of other lines outside the grid pass and are recorded. The sea-state batch passes wave_grid_check, wave_grid_tolerance and a per-run log through, and writes each run's record and outcome to its manifest.
FAST.Farm results
read_cabledyn_sections reads FAST.Farm's <root>.FarmCD.out, which has the .CD.out layout, on the host's clock.
Tests
The two slowest tests build only the validation rows they check, and a report computes the SV11 predictions once. The report is unchanged.
Known limitations
- Failed measured comparisons: BM1-loop, BM1-ID, Z-EI, HU-3PB, WITZ-ID, SV11-PLANE and SV11-GJ miss their registered targets. They are reported as failed in VALIDATION.md, and their targets are not relaxed.
- Scope of the tests: a passing test does not establish that the model predicts every physical cable construction, or a validated service life.