Repository navigation
Add foldable propeller V1 module (TÜBİTAK 2209-B) - #1
Merged
Merged
Conversation
Introduce pythrust/foldable/ as an isolated extension for tip-hinged foldable propeller modeling without modifying the core propulsion solver. Includes conventions doc, example config, RPM sweep script, CSV export, and 18 unit tests covering kinematics, effective diameter, thrust, and validation helpers. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Bridge PropulsionSolver output to foldable post-processing for theta, effective diameter, and thrust while preserving torque, current, power, and efficiency from the core solver. Includes operating point example script, CSV export helpers, and integration tests. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Compare PyThrust reference fixed thrust with foldable post-processed thrust across a throttle sweep. Includes comparison module, CSV export, example script, and unit tests. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Introduce thrust_model_mode simple|reference_scaled with eta_hinge, eta_profile, and reference_diameter_m config fields. Foldable thrust can now scale from PyThrust fixed thrust via (D_eff/D_ref)^4 instead of the standalone V1 formula when reference_scaled is selected. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Compare five tip-hinged geometries (65/35 through 85/15) at fixed 0.25 m open diameter using reference_scaled thrust. Adds variants.py, design_sweep.py, example script, CSV writer, and tests. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Aggregate per-variant compactness and thrust metrics with a simple score_simple balance. Includes summary module, example script, and tests. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Normalize compactness and thrust preservation to 0-1, compute persona weighted scores, and classify variants with recommendation notes. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…ation Replace ground_priority_score with stowed-only compactness scoring. Update flight weights to 80/20 and recommendation labels for stowed mode. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…on metrics Focus decision matrix on RPM ramp behavior: startup thrust, deployment, flight performance, and takeoff transition scores. Compactness remains a design descriptor only. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Generate sweep throttle curves and flight-startup score bar chart under outputs/foldable/figures with example script and plot tests. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Add throttle=0 startup points (rpm=0, folded D_eff, thrust=0) - Add fig_thrust_difference_normalized_250mm.png vs project D_ref=0.25 m - Label deployment_score as diameter growth in decision bar chart - Collapse overlapping RPM-only hinge angle curves with note - Write foldable_figures_report.md with model assumptions Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Extend config with cg, hinge stiffness/friction, kinematics_mode - Solve theta from centrifugal opening vs spring/friction balance - Scale variant mass/cg/hinge_radius for geometry-dependent theta - Update plots/docs; add tests for variant theta differentiation Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Expose resisting_moment_nm and hinge_state helpers - Export moment_kinematics_validation and variant_physical_parameters CSVs - Add unit tests confirming stiffness uses radians not degrees Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Document hinge_radius_m unused in V1 M_open formula - Add moment_margin_nm interpretation notes - Add active_window_diameter_growth_score CSV alias; keep deployment_score - Update plots/docs/validation output labels Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…ment score Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- geometry_2d, io join from sweep/moment/params CSVs - single-state, throttle sweep, and variant comparison panels - examples/run_foldable_visuals.py and visualization tests Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add optional stowed_envelope_diameter_m config field for documentation and visualization only. Distinguish aerodynamic D_eff from proposal storage envelope in docs and schematic captions, draw stowed reference circle, and add compact variant-comparison subplot labels. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Introduce presentation-friendly black-filled blade schematics alongside existing radial engineering visuals. Includes static overview, single-state, throttle sweep, and variant comparison panels with unified report. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add visualization-only deployment_progress and display_hinge_angle_deg so concept schematics show secondary blade folded parallel to main blade at start, distinct from radial analysis theta_deg. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add deployment_geometry, sequence panel, frame export with manifest, pseudo-time mapping, and panel labels with progress/display angle. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Concept throttle sweep panel uses t=0.0s..2.0s labels with folded-start display angles - Export frames to frames/concept_<variant_id>/frame_000.png with manifest and CSV metadata - Document pseudo-time approach in report and foldable_conventions.md - Keep legacy export_deployment_frames API; radial throttle sweep unchanged Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Show RT65_35..RT85_15 at throttle 0.6 with variant, theta, hinge_state, D_eff labels - Use frame_from_state for folded-start display angle consistency - Document concept variant compare in report and conventions Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- ODE spin-up with algebraic motor torque and quasi-static hinge - Quasi-steady aero at J=0 using D_eff and PropellerEntry Ct/Cp - CSV export dynamic_spinup_RT75_25.csv and integration tests Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Add 4-panel spinup summary figure export - Add rotating concept-style frame export with manifest - Add optional rotor_inertia and hinge_damping config fields - Add TÜBİTAK calibration validation hooks and output tests Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Add step and linear_ramp throttle profiles with ramp_time_s - Scale thrust/torque by deployment-based aero_effectiveness in dynamic V1 - Add checkpoint summary CSV at 7100 rpm vs reference open propeller thrust - Document D_eff vs stowed envelope and folded aero approximation Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Replace misleading thrust_ratio_at_7100_rpm with ideal_geometry_ratio_at_7100_rpm and add calibrated/target thrust fields from TÜBİTAK pretest (0.70) and project (0.85) references. Export separate step and ramp CSV outputs while keeping the legacy step alias. Update model notes and documentation accordingly. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add profile-specific figures and checkpoint summaries with TÜBİTAK 7100 rpm annotations, figure captions, optional frame text overlays, and single-arm concept frame documentation. No physics changes. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Reserve a right margin for TÜBİTAK 7100 rpm annotations in *_report.png figures while keeping legacy inline annotations unchanged. Document ramp report figure as preferred for written reports. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Introduce prescribed-RPM simulation independent of the motor module: parallel-stow geometry (V02), second-order hinge dynamics with component moments, lagged tip aero effectiveness, root/tip thrust split, physics debug CSV/figures. Legacy motor spin-up path unchanged. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add stability report, dt sensitivity, and hinge parameter sweep for prescribed-RPM V2. Fix quasi-static equilibrium bisection direction, smooth Coulomb friction, and lock hinge when driving torque is below breakaway to eliminate numerical limit-cycle chatter at equilibrium. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Replace progress-lever default with geometric_radial moment using R_h, r_cg, and sin(-phi). Add deployment_bias_angle_deg and initial_stow_offset_deg as explicit assumptions, open_stop hinge state, geometry diagnostic CSV, and audit spec documenting why progress_lever locked equilibrium at -150 deg. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…stics Add wide bias/stiffness/scale sweep CSV, tip thrust pipeline breakdown, and optional open_latch_diagnostic mode with hold-at-open behavior. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…tics Keep independent_tip_disk as default; add effective_diameter_delta and annular_extension_proxy modes with audit spec and split-mode comparison CSV. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Introduce calibrated_effective_diameter_delta with pretest_70_percent and target_85_percent presets derived from 25 cm reference thrust. Add calibration module, diagnostic CSV runner, tests, and audit doc update. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add pretest_70_percent_fixed and target_85_percent_fixed presets derived from latch_theta0 reference. Diagnostic CSV now shows per-case required factors alongside uniformly applied fixed factors and achieved ratios. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add ideal and fixed-calibration thrust columns to deployment sweep rows. Introduce foldable_performance_summary_v2.csv with explicit model levels and decision labels for TÜBİTAK evaluation baselines. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Compare deployment cases and RT75/RT65 variants with calibrated thrust metrics, engineering classification labels, and ranked candidate CSVs. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Combine PyThrust operating point solver with deployment-state calibrated thrust at throttle sweep. Emit performance and 7100 rpm checkpoint CSVs without changing prescribed-RPM physics or design decision outputs. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add target-RPM interpolation at 7100 rpm from the throttle sweep, with explicit checkpoint and n²-scaled current-RPM reference columns. New interpolated and reference-consistency CSV outputs; backward-compatible extensions to the performance CSV and seven new tests. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Compute foldable_proxy aero torque for root-only rows instead of silent zero. Separate compact 20 cm vs variant root gain columns, add torque margin and reference_load_postprocess coupling metadata, and add consistency audit CSV. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Generate Markdown report, key results CSV, figure index, assumptions, and Turkish conclusion from motor-coupled checkpoint CSVs via a script and tests. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Export operating points, geometry parameters, case recommendations, readiness audit, and boundary-condition notes from motor-coupled 7100 rpm data. This is input preparation only — not CFD results. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Builds a self-contained pyfoldable package with minimal vendored pythrust propeller/propulsion slices for independent checkout and push. Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an isolated
pythrust/foldable/module for tip-hinged foldable propeller analysis under the TÜBİTAK 2209-B research scope. The existing PyThrust core (propulsion/,propellers/,motors/) is untouched.What's included
docs/foldable_conventions.md) — units, angle sign convention, effective diameter definitionconfigs/foldable/TIP_HINGED_250_V01.json) — 250 mm open diameter, hinge geometry, RPM thresholds, calibration coefficientspythrust/foldable/) — dataclasses, kinematics, effective diameter, simplified thrust, CSV validation helpersexamples/run_foldable_sweep.py) — producesoutputs/foldable/sweep_results.csvtests/foldable/, 18 new tests) — RPM→angle monotonicity, open diameter = 0.25 m, folded < open, CSV columnsV1 physical model (simplified)
rpm_thresholdtorpm_full_open;theta_deg = 0= fully open, negative = foldedD_eff = 2 * (hinge_position + tip_length * cos(theta))T = k_thrust * Ct_ref * rho * n² * D⁴(placeholder for future PyThrust solver / Ct-Cp integration)Test plan
pytest tests/ --ignore=tests/test_openmdao.py— 51 passed (33 existing + 18 new)Not in scope (V1)
comparison_fixed_vs_foldable.csv(planned V2)