{"id":"v001","input":{"distance":"906 NM","groundspeed_out":"250 kt","groundspeed_back":"290 kt"},"expect":{"result.etp_distance.value":487,"result.etp_to_destination.value":419,"ok":true},"source":"CASA AC 91-15 v1.2 Annex B, Table 9: route 906 NM, GS 250 kt on to Cairns and 290 kt back to Darwin, critical point 487 NM from Darwin and 419 NM from Cairns","sourceVersion":"AC 91-15 v1.2","tolerance":{"result.etp_distance.value":{"rel":0,"abs":0.5},"result.etp_to_destination.value":{"rel":0,"abs":0.5}}}
{"id":"v002","input":{"distance":"906 NM","tas":"270 kt","course":"090 deg","wind_direction":"090 deg","wind_speed":"20 kt","safe_endurance":"4 h"},"expect":{"result.etp_distance.value":486.5555555555556,"result.etp_to_destination.value":419.4444444444444,"result.etp_time.value":116.77333333333334,"result.groundspeed_out.value":250.0,"result.groundspeed_back.value":290.0,"result.safe_endurance.value":240.0,"result.pnr_time.value":128.8888888888889,"result.pnr_distance.value":537.0370370370371,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v003","input":{"distance":"300 NM","tas":"150 kt"},"expect":{"result.etp_distance.value":150.0,"result.etp_to_destination.value":150.0,"result.etp_time.value":60.0,"result.groundspeed_out.value":150.0,"result.groundspeed_back.value":150.0,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":0},"result.etp_to_destination.value":{"rel":0,"abs":0},"result.etp_time.value":{"rel":0,"abs":0},"result.groundspeed_out.value":{"rel":0,"abs":0},"result.groundspeed_back.value":{"rel":0,"abs":0}}}
{"id":"v004","input":{"distance":"200 NM","tas":"120 kt","course":"360 deg","wind_direction":"360 deg","wind_speed":"20 kt","usable_fuel":"50 gal","reserve_fuel":"10 gal","fuel_burn":"10 gal/h"},"expect":{"result.etp_distance.value":116.66666666666667,"result.etp_to_destination.value":83.33333333333333,"result.etp_time.value":70.0,"result.groundspeed_out.value":100.0,"result.groundspeed_back.value":140.0,"result.safe_endurance.value":240.0,"result.pnr_time.value":140.0,"result.pnr_distance.value":233.33333333333334,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v005","input":{"distance":"150 NM","tas":"120 kt","course":"090 deg","wind_direction":"000 deg","wind_speed":"30 kt"},"expect":{"result.etp_distance.value":75.0,"result.etp_to_destination.value":75.0,"result.etp_time.value":38.72983346207417,"result.groundspeed_out.value":116.1895003862225,"result.groundspeed_back.value":116.1895003862225,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09}}}
{"id":"v006","input":{"distance":"100 NM","tas":"40 kt","course":"090 deg","wind_direction":"090 deg","wind_speed":"45 kt"},"expect":{"ok":false,"error.code":"NO_SOLUTION"},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{}}
{"id":"v007","input":{"distance":"100 NM","groundspeed_out":"100 kt"},"expect":{"ok":false,"error.code":"INVALID_INPUT"},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{}}
{"id":"v008","input":{"distance":"420.0 NM","groundspeed_out":"175.0 kt","groundspeed_back":"205.0 kt"},"expect":{"result.etp_distance.value":226.57894736842107,"result.etp_to_destination.value":193.42105263157893,"result.etp_time.value":77.6842105263158,"result.groundspeed_out.value":175.0,"result.groundspeed_back.value":205.0,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09}}}
{"id":"v009","input":{"distance":"85.0 NM","groundspeed_out":"92.0 kt","groundspeed_back":"118.0 kt","safe_endurance":"2.5 h"},"expect":{"result.etp_distance.value":47.76190476190476,"result.etp_to_destination.value":37.23809523809524,"result.etp_time.value":31.149068322981364,"result.groundspeed_out.value":92.0,"result.groundspeed_back.value":118.0,"result.safe_endurance.value":150.0,"result.pnr_time.value":84.28571428571428,"result.pnr_distance.value":129.23809523809524,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v010","input":{"distance":"1200.0 NM","groundspeed_out":"410.0 kt","groundspeed_back":"365.0 kt","safe_endurance":"5.2 h"},"expect":{"result.etp_distance.value":565.1612903225806,"result.etp_to_destination.value":634.8387096774194,"result.etp_time.value":82.70653029110936,"result.groundspeed_out.value":410.0,"result.groundspeed_back.value":365.0,"result.safe_endurance.value":312.0,"result.pnr_time.value":146.94193548387096,"result.pnr_distance.value":1004.1032258064516,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v011","input":{"distance":"37.5 NM","groundspeed_out":"75.0 kt","groundspeed_back":"75.0 kt","safe_endurance":"1.0 h"},"expect":{"result.etp_distance.value":18.75,"result.etp_to_destination.value":18.75,"result.etp_time.value":15.0,"result.groundspeed_out.value":75.0,"result.groundspeed_back.value":75.0,"result.safe_endurance.value":60.0,"result.pnr_time.value":30.0,"result.pnr_distance.value":37.5,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v012","input":{"distance":"640.0 NM","tas":"210.0 kt","course":"25.0 deg","wind_direction":"310.0 deg","wind_speed":"45.0 kt"},"expect":{"result.etp_distance.value":338.1404353919441,"result.etp_to_destination.value":301.8595646080559,"result.etp_time.value":104.68449894182767,"result.groundspeed_out.value":193.8054471158214,"result.groundspeed_back.value":217.09916117504827,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09}}}
{"id":"v013","input":{"distance":"275.0 NM","tas":"145.0 kt","course":"359.0 deg","wind_direction":"40.0 deg","wind_speed":"28.0 kt","safe_endurance":"3.1 h"},"expect":{"result.etp_distance.value":157.7016108352919,"result.etp_to_destination.value":117.29838916470811,"result.etp_time.value":77.115812382211,"result.groundspeed_out.value":122.69982456023791,"result.groundspeed_back.value":164.96356105271315,"result.safe_endurance.value":186.0,"result.pnr_time.value":106.66363496496106,"result.pnr_distance.value":218.12682161929968,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v014","input":{"distance":"510.0 NM","tas":"180.0 kt","course":"135.0 deg","wind_direction":"315.0 deg","wind_speed":"35.0 kt"},"expect":{"result.etp_distance.value":205.41666666666669,"result.etp_to_destination.value":304.5833333333333,"result.etp_time.value":57.32558139534885,"result.groundspeed_out.value":215.0,"result.groundspeed_back.value":145.0,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09}}}
{"id":"v015","input":{"distance":"90.0 NM","tas":"105.0 kt","course":"270.0 deg","wind_direction":"180.0 deg","wind_speed":"22.0 kt","safe_endurance":"1.8 h"},"expect":{"result.etp_distance.value":45.0,"result.etp_to_destination.value":45.0,"result.etp_time.value":26.298008262835495,"result.groundspeed_out.value":102.66937225872184,"result.groundspeed_back.value":102.66937225872184,"result.safe_endurance.value":108.0,"result.pnr_time.value":54.0,"result.pnr_distance.value":92.40243503284965,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v016","input":{"distance":"980.0 NM","tas":"260.0 kt","course":"82.0 deg","wind_direction":"250.0 deg","wind_speed":"55.0 kt","safe_endurance":"4.7 h"},"expect":{"result.etp_distance.value":388.51303558307916,"result.etp_to_destination.value":591.4869644169208,"result.etp_time.value":74.34552739760977,"result.groundspeed_out.value":313.5465299790744,"result.groundspeed_back.value":205.95029389835577,"result.safe_endurance.value":282.0,"result.pnr_time.value":111.79660819839626,"result.pnr_distance.value":584.2239760672882,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v017","input":{"distance":"160.0 NM","tas":"125.0 kt","course":"205.0 deg","wind_direction":"25.0 deg","wind_speed":"30.0 kt"},"expect":{"result.etp_distance.value":60.8,"result.etp_to_destination.value":99.2,"result.etp_time.value":23.535483870967738,"result.groundspeed_out.value":155.0,"result.groundspeed_back.value":95.0,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09}}}
{"id":"v018","input":{"distance":"350.0 NM","tas":"155.0 kt","course":"90.0 deg","wind_direction":"60.0 deg","wind_speed":"25.0 kt","usable_fuel":"62.0 gal","reserve_fuel":"12.0 gal","fuel_burn":"11.5 gal/h"},"expect":{"result.etp_distance.value":199.52414364186546,"result.etp_to_destination.value":150.47585635813454,"result.etp_time.value":90.1162462569291,"result.groundspeed_out.value":132.8445104601928,"result.groundspeed_back.value":176.14578064941475,"result.safe_endurance.value":260.8695652173913,"result.pnr_time.value":148.71364743493078,"result.pnr_distance.value":329.26319487071805,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v019","input":{"distance":"725.0 NM","tas":"230.0 kt","course":"300.0 deg","wind_direction":"120.0 deg","wind_speed":"40.0 kt","usable_fuel":"140.0 gal","reserve_fuel":"25.0 gal","fuel_burn":"24.0 gal/h"},"expect":{"result.etp_distance.value":299.45652173913044,"result.etp_to_destination.value":425.54347826086956,"result.etp_time.value":66.54589371980677,"result.groundspeed_out.value":270.0,"result.groundspeed_back.value":190.0,"result.safe_endurance.value":287.5,"result.pnr_time.value":118.75,"result.pnr_distance.value":534.375,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
{"id":"v020","input":{"distance":"115.0 NM","tas":"98.0 kt","course":"12.0 deg","wind_direction":"280.0 deg","wind_speed":"18.0 kt","usable_fuel":"38.0 gal","reserve_fuel":"8.0 gal","fuel_burn":"7.5 gal/h"},"expect":{"result.etp_distance.value":57.12504746704473,"result.etp_to_destination.value":57.87495253295527,"result.etp_time.value":35.34856591809596,"result.groundspeed_out.value":96.96299578218662,"result.groundspeed_back.value":95.7066139008966,"result.safe_endurance.value":240.0,"result.pnr_time.value":119.21749036600639,"result.pnr_distance.value":192.66141692536587,"ok":true},"source":"Independent Python solution: wind triangle by the law of cosines, legs by GeographicLib GeodSolve (tools/vectors/gen_flight_plan.py)","sourceVersion":"GeodSolve: GeographicLib version 2.7","tolerance":{"result.etp_distance.value":{"rel":0,"abs":1e-09},"result.etp_to_destination.value":{"rel":0,"abs":1e-09},"result.etp_time.value":{"rel":0,"abs":1e-09},"result.groundspeed_out.value":{"rel":0,"abs":1e-09},"result.groundspeed_back.value":{"rel":0,"abs":1e-09},"result.safe_endurance.value":{"rel":0,"abs":1e-09},"result.pnr_time.value":{"rel":0,"abs":1e-09},"result.pnr_distance.value":{"rel":0,"abs":1e-09}}}
