Skip to main content
PSUT / IoTEngineering learning studio
WORKSPACE
Offline-first portalDr. Mohammad Alja’afreh
Connected Networks StudioNetworking and CommunicationExperimentsWorkspaces
ENGINEERING WORKSPACE
Home/Engineering Workspaces/N10 · LoRa PHY airtime & duty estimate
IoTPSUT IoT Engineering StudioPrincess Sumaya University for Technology · Dr. Mohammad Alja’afreh
Communication Networks · offline engineering
Networking and Communication

LoRa PHY airtime & duty estimate

Ask Dr. Mohammad · N10 →

Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload.

Design experiment & verify evidence →
N10 · Laboratory mentorAsk about the current experiment, its algorithms or Python notebook.
Ask Dr. MohammadAdaptive practice
Learning workflow · Advanced networksN10 · LoRa PHY airtime & duty estimate
N10 · Academic orientation

Scope and objectives

Scope of the experiment

Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload.

The focus of this experiment is to calculate LoRa symbol duration and stated airtime estimate. Students then compare spreading factor, bandwidth and duty constraints, and explain model assumptions and regulatory or modem-specific limits. The Concepts view explains the operation before the practical work; the Simulation view is used to examine reference and changed inputs, not to substitute for actual measurements.

Learning objectives

  • Calculate LoRa symbol duration and stated airtime estimate.
  • Compare spreading factor, bandwidth and duty constraints.
  • Explain model assumptions and regulatory or modem-specific limits.
  • Identify the configured inputs (PHY payload (bytes); Spreading factor; Bandwidth (kHz); Coding rate denominator offset (4/(4+CR)); Report period (s)) and record the corresponding observed outputs with units where applicable.
  • Compare the reference calculation or decision with an independent implementation or authorized observation; state any discrepancy and the applicable model boundary.

Expected learning outcomes

On completion, students can calculate LoRa symbol duration and stated airtime estimate, compare spreading factor, bandwidth and duty constraints, and explain model assumptions and regulatory or modem-specific limits.

Required deliverables

Submit the derivation or state trace for the named operation, the exact reference and changed configurations, the associated simulator or practical evidence, and a short validation statement addressing explain model assumptions and regulatory or modem-specific limits. Separate predicted values from observations.

Prerequisite knowledge and related learning

Review the following catalogue prerequisites before starting. After completion, continue to CoAP confirmable vs non-confirmable.

Environment and experimental methodology

The browser instrument and the specified local software or network environment. Use the experiment’s documented topology and distinguish modeled values from actual packet observations.

Begin with a manual prediction, record the baseline, change one independent condition at a time, and compare the resulting trace or measurements with the original prediction. Record observations and uncertainty separately from reference values. Follow the experiment’s specific procedure, safety limits, and acceptance checks.

N10 · learning outcome

Understand the experiment

LoRa airtime · Symbol and packet structure

PHY model: payload symbol count depends on header, coding, CRC and optimization
PHY model: payload symbol count depends on header, coding, CRC and optimization

Scientific architecture · LoRa PHY airtime & duty estimate

LoRa symbol timing — Spreading factor / SF7; Bandwidth / 125 kHz; Symbol duration / 2^7/125000 = 1.024 ms; Preamble and payload / count symbols; Airtime / total symbols × Tsym
Scientific concept map: Payload — Byte count; LoRa symbols — SF and bandwidth; Preamble + payload — Symbol count; Airtime — Symbols × symbol time; Duty budget — Transmit time / interval.

Scientific foundations and analytical reasoning

LoRa symbol time is 2^SF/BW. Packet airtime also depends on preamble, coding, payload, explicit header, CRC and low-data-rate optimization.

Before operating the equipment or executing the program, derive the expected outcome using the required theoretical work in Experiment. Use the diagram to identify the variables and system boundaries.

Scientific theory · LoRa symbols and airtime

LoRa spreading factor controls the number of chips per symbol, with symbol duration 2^SF/BW. Increasing SF at fixed bandwidth doubles symbol time for each increment. Packet airtime also includes preamble and payload symbols determined by coding, header, CRC and low-data-rate optimization. Duty fraction is airtime divided by observation interval.

Worked example and engineering interpretation

For SF7 and BW=125 kHz, symbol duration=1.024 ms; SF8 yields 2.048 ms. A 100 ms packet transmitted every 10 s occupies 1% of the time in the simple periodic model. Regional radio limits depend on the actual band and configuration.

Engineering principles · additional worked teaching example

LoRa symbol duration Ts=2^SF/BW with BW in Hz. SF9 at 125 kHz gives 512/125000=4.096 ms. An 8-symbol configured preamble plus 4.25 overhead symbols takes 50.176 ms; total airtime also depends on payload coding.

From theory to experiment

Predict the reference result before operating the workbench; check the actual intermediate state, units and constraints. The existing simulation, implementation and procedure below are distinct sources of evidence.

How to investigate LoRa PHY airtime & duty estimate

Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload.

Analytical investigation means collecting an observation, identifying the mechanism, using a calculation or state trace to explain it, and checking your conclusion against evidence. Controlled comparison means changing one independent variable, holding the remaining relevant conditions constant, and measuring a dependent variable against a baseline. Experimental validation means comparing a predicted result to a reproducible observation or assertion; agreement inside a model does not certify hardware. Evidence-based reasoning connects a specific observation to a theoretical rule and states uncertainty, not merely an opinion. Performance characterization records a named metric and its units across conditions; sensitivity analysis changes one parameter across several values. A threat assessment links an asset, threat, consequence and evidence to a mitigation.

Experiment-specific guided practice

Objective: Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload.

  1. Set PHY payload (bytes) = 20; Spreading factor = 7; Bandwidth (kHz) = 125; Coding rate denominator offset (4/(4+CR)) = 1; Report period (s) = 60. Observe the calculated results and trace.
  2. Change Spreading factor = 12. Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7.
  3. Restore the reference values. Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim.

Reference check:

Model boundary:

Independent task and submission evidence

2. Change Spreading factor = 12. Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat.

Before execution write the independent variable and its levels, dependent observation with units where applicable, baseline, controlled variables, measurement method and expected result. For a state machine use state/event/output rather than inventing a numeric metric. Record failures and repeat the baseline. A weak conclusion is “it works”; a supported conclusion names the changed setting, observed value/state, corresponding rule and one limitation.

TrialChanged settingFixed settingsPredicted resultActual observation / unitsEvidence / uncertainty
A: baselineReferenceRecordPredictRecordRecord
B: one changeRecordSame as APredictRecordRecord
A: repeatRestoreSame as APredictRecordRecord

Completion: submit the filled table, relevant simulator screenshot or terminal/notebook output, reasoning with units/assumptions, and one limitation. Preserve the independent assessment questions; this guide does not fill their answers.

Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload.

Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim.

Worked engineering reasoning and boundary conditions

Engineering reference configuration: PHY payload (bytes) = 20; Spreading factor = 7; Bandwidth (kHz) = 125; Coding rate denominator offset (4/(4+CR)) = 1; Report period (s) = 60. In the classroom model, Time on air = 56.576 ms; Symbol time = 1.024 ms; TX duty estimate = 0.094 %; LDRO = Off. LoRa PHY explicit header, CRC on, 8 preamble symbols. Not a LoRaWAN regional limit or network-capacity claim. Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim.

Use the diagram to follow the calculation or state progression. Keep the teaching configuration separate from the independent exercise values; compare observations with the actual model and implementation.

Mathematical representation and interpretation

LoRa symbol duration

SF is spreading factor, BW is bandwidth in hertz, T_s seconds. Total symbols include preamble and payload terms and depend on the configured modem settings.

\[T_s=\frac{2^{SF}}{BW},\qquad T_{\mathrm{air}}=N_{\mathrm{symbols}}T_s\]

Concept animation · quantity comparison

Explore the teaching example independently of the simulator. Each step reveals an operation, data relationship or calculated state. The Simulation view has separate editable inputs.

LoRa PHY airtime & duty estimate: quantity comparisonPreamble time12.544 msPayload time44.032 ms

Step 1 of 2 · Preamble time

Preamble time

Preamble time
12.544 ms

Teaching example only; inspect live calculations or real practical evidence separately.

Recall the concept before revealing its explanation.

0 / 3 revealed
N10 · 01 / 08How does the assigned LoRa packet airtime change between SF7 and SF12?Reveal explanation
Engineering explanation

Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7.

N10 · 02 / 08Why must PHY overhead and coding assumptions be specified before interpreting LoRa airtime?Reveal explanation
Engineering explanation

Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim.

N10 · 03 / 08How can you reproduce the original airtime after testing SF12?Reveal explanation
Engineering explanation

Restore SF7, BW125 kHz, 20-byte PHY payload and original coding/preamble settings; expected airtime 56.576 ms.

N10 · 04 / 08Why does spreading factor influence LoRa symbol duration?Reveal explanation
Engineering reasoning

At fixed bandwidth the ideal symbol time is 2^SF/BW, increasing with spreading factor.

N10 · 05 / 08Why distinguish airtime from end-to-end delay?Reveal explanation
Engineering reasoning

Airtime describes on-air packet transmission; queueing, access, retries and processing add other delays.

N10 · 06 / 08LoRa airtime is evaluated. Select every technically valid statement. A. Symbol duration is proportional to 2 raised to SF divided by bandwidth. B. Duty estimate requires both airtime and observation interval. C. Spreading factor is measured in seconds. D. A longer airtime always reduces channel occupancy.Reveal explanation
Applied scenario

Correct: A. Symbol duration is proportional to 2 raised to SF divided by bandwidth.; B. Duty estimate requires both airtime and observation interval.

N10 · 07 / 08In LoRa PHY airtime & duty estimate, which reference and changed settings are prescribed for Spreading factor?Reveal explanation
Controlled configuration

Spreading factor: 7 → 12; hold the remaining settings fixed.

N10 · 08 / 08What expected result distinguishes the reference and changed trials in LoRa PHY airtime & duty estimate?Reveal explanation
Expected observation

Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7.

Interactive networking and security instrument

Loading experiment-specific apparatus…
Previous model / additional reference tools
Simulation task

Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload.

Explore the model using its own controls. Record a prediction before changing a condition. Compare the reference with a changed condition, then use the Experiment tab for the procedure, acceptance criteria and notebook. Model outputs and physical observations must remain separate.

Interactive engineering workbenchN10 · Existing model
Interactive computational experiment

Configure and observe

Model-linked protocol trace

Animated LoRa PHY airtime & duty estimate

Change the controls above; the trace and numerical summary update from the computed model results. Animation timing is for learning, not measured protocol latency.

Recent trace events

    Inspect numerical or encoded protocol details
    N10 · Model-linked instrumentation

    Visual observation lens

    Back to controls ↑

    Readout from the original computational model; not physical measurements.

    Loading instrument…

    Awaiting model display.

    Experimental instrumentation · A/B

    Compare two model conditions

    Capture a baseline, change one experimental condition, run the model if required and capture the comparison. Snapshots contain visible controls and display text, not physical sensor readings. Review before exporting.

    Open simulation view
    Baseline A
    Not captured
    Comparison B
    Not captured

    Capture a baseline to begin.

    Evidence portfolio →
    V19.0 · Contextual AI workspace

    Ask your engineering assistants

    N10 · current context

    Ask Dr. Mohammad locally, or prepare an experiment-aware prompt for ChatGPT, Gemini or Claude. The external providers open in their own tabs; nothing is automatically submitted.

    Dr. Mohammad · offline
    Dr. Mohammad

    Offline curriculum-grounded assistance.

    Open local tutor
    LoRa PHY airtime & duty estimate

    Public course objective, displayed commands, source excerpts and procedure. Private assessment content is not collected.

    Prepare a contextual AI prompt

    0 characters

    Common secret and email patterns are redacted on preparation; this is not a comprehensive privacy filter. Review the entire editable prompt, including student work and unpublished research, before sharing. The providers apply their own accounts, privacy settings and limits.

    Prepare → review → copy & open your selected provider → paste and submit there.

    Independent theoretical exercises

    Before the simulation or practical, solve both experiment-specific tasks. List the given inputs, show the intermediate calculation or state trace, identify the expected observation, and state a limitation. Show formulas and intermediate calculations where relevant, or draw the requested state/sequence diagram. These are independent classroom fixtures; where they differ from the reference configuration below, do not treat them as measured values. Compare your predictions with the corresponding experiment afterwards.

    01 · Predict and derive using the given inputs

    For SF7 and BW125 kHz compute symbol time and preamble airtime for 8+4.25 symbols. Repeat SF12.

    02 · Compare or justify using evidence

    Use the lab payload formula for 20 bytes, CR=1, explicit header and CRC; calculate airtime and duty fraction for period60 s. Record DE setting.

    03 · Calculation

    Calculation · Independent work

    At BW250 kHz compare SF8 and SF11 symbol time and preamble airtime for 12.25 symbols.

    Work is saved locally when browser storage is available. Export it for submission; no remote upload or automatic grade is assigned.

    Expanded independent theoretical exercise bank

    Progress from calculation and interpretation to diagnosis and controlled engineering design. Complete the questions without opening the simulation first; show intermediate steps.

    Intermediate · Explain a changed-input result

    Independent theoretical exercise · N10-01

    Use the reference configuration (PHY payload (bytes) = 20; Spreading factor = 7; Bandwidth (kHz) = 125; Coding rate denominator offset (4/(4+CR)) = 1; Report period (s) = 60), but change PHY payload (bytes) = 12. The model reports Time on air = 41.216 ms. Explain the governing rule and assumptions that make this output plausible; identify an independent verification method.

    Intermediate · Interpret a state transition

    Independent theoretical exercise · N10-02

    The reference model reports Time on air: 56.576 ms. Under PHY payload (bytes) = 12 it reports 41.216 ms. Explain which configured condition changed and what the two outputs establish, and what they do not establish.

    Intermediate · Interpret a technical trace

    Independent theoretical exercise · N10-03

    For Spreading factor = 8, the model supplies this excerpt from Calculated trace: Item · Value · Explanation Preamble symbols · 8 + 4.25 · Payload symbols · 38 · PHY payload · 20 B · Count rows whose Value value is exactly “8 + 4.25”, and identify the displayed row numbers. Explain what the count describes.

    Advanced · Reverse reasoning

    Independent theoretical exercise · N10-04

    An observation is Time on air = 102.912 ms. Candidate A uses PHY payload (bytes) = 20; Spreading factor = 7; Bandwidth (kHz) = 125; Coding rate denominator offset (4/(4+CR)) = 1; Report period (s) = 60. Candidate B changes the listed settings (Spreading factor = 8) and keeps the remaining settings fixed. Which is consistent with the observation? If both can explain it, say what additional evidence is required.

    Advanced · Diagnose a reported mismatch

    Independent theoretical exercise · N10-05

    A student configures Bandwidth (kHz) = 250 while preserving all other reference settings, but copies the reference report of Time on air = 56.576 ms. Evaluate whether the report is justified. Identify the first configuration/output check to perform.

    Challenging · Design a controlled verification

    Independent theoretical exercise · N10-06

    Design a controlled comparison for LoRa PHY airtime & duty estimate using reference PHY payload (bytes) = 20; Spreading factor = 7; Bandwidth (kHz) = 125; Coding rate denominator offset (4/(4+CR)) = 1; Report period (s) = 60 and test PHY payload (bytes) = 12. Specify the changed setting(s), measured metric Time on air, controls, repetitions, an acceptance check and what evidence can distinguish an actual implementation from the model.

    Step-by-step experimental procedure

    Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload.

    1 · Reference workbench configuration

    Use the named reference workbench and its reference inputs. Additional live instruments may have different controls; use the matching instrument. Record virtual and practical results separately.

    PHY payload (bytes)20
    Spreading factor7
    Bandwidth (kHz)125
    Coding rate denominator offset (4/(4+CR))1
    Report period (s)60

    2 · Perform the investigation in order

    1. Set PHY payload (bytes) = 20; Spreading factor = 7; Bandwidth (kHz) = 125; Coding rate denominator offset (4/(4+CR)) = 1; Report period (s) = 60. Observe the calculated results and trace.
    2. Change Spreading factor = 12. Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7.
    3. Restore the reference values. Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim.

    3 · Compare controlled trials

    TrialIndependent changeExpected checkObservation
    ReferenceUse reference inputs aboveBaseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7.Record actual result
    Controlled changeSpreading factor = 12Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7.Record actual result

    4 · Analyze and report

    Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim.

    Required evidence: Record the lora phy airtime & duty estimate comparison and justify the changed outcome from the calculated trace.

    Model boundary: Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim.

    Controlled investigation · reproducible evidence

    Method. Use the existing reference workbench configuration and the named controlled changes below. A controlled variable stays fixed while the independent variable is intentionally changed; the dependent variable is the resulting observed output. First predict each trial from the Concepts page. Run the baseline, then change only the specified setting and record the outcome. For deterministic traces one execution per case and a repeated verification are sufficient; for timing or stochastic measurements repeat at least five times, recording each run, median and range. Reset to the reference state between independent comparisons.

    TrialIndependent changeDependent observation
    ReferenceUse reference inputs aboveRecord actual outcome and units
    Controlled changeSpreading factor = 12Record actual outcome and units

    Evidence: attach the completed comparison table, one trace or screenshot per condition, and actual practical terminal/hardware evidence where applicable. Explain any prediction mismatch and distinguish modeled behavior from measured results.

    Loading laboratory-specific procedure…

    Practical procedure & acceptance

    1. Restore reference and enter your prediction. Select Save baseline.
    2. Apply controlled change. Inspect metrics and protocol details. Compare the results with the following verification conditions.
    3. ✓ Expected: Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7.
    4. Restore reference. Confirm the same baseline results, then vary one field at a time. Record the changed configuration and explain any difference.
    5. Export both baseline and changed evidence before leaving. Do not infer physical execution from model output.

    Model-only experiment

    No shell command or external service is required. Use the computational experiment above. Do not interpret its values as live network measurements.

    Experimental notebook

    Record your own results. Values are not prefilled or independently verified.

    Record, discuss & verify

    Notebook imports use the related core lab P43 and retain N10 in the method and attachment. The supplemental labs do not change the core prerequisite graph or graded completion counters.

    Experimental Verification Center · Technical reference (online) · Download model source

    Learning progress

    Mark complete only after documenting your observations. This is not a verified result or official grade.

    View prerequisites and related learning

    Python / Google Colab laboratory

    N10 · 9 notebook cells · 2 executable Python cells

    Complete the theoretical investigation first. Run the cells in order, record actual outputs and compare against your prediction.

    How to execute

    1. Download this notebook and open Google Colab. Select File → Upload notebook and choose the downloaded .ipynb.
    2. Read the Markdown instructions before each executable cell. Use a Python runtime, run cells from top to bottom, and resolve imports if necessary.
    3. Perform the baseline and controlled changes. Save the notebook with actual outputs and your written interpretation.

    Execution scope: Default computational cells passed isolated local Python execution; physical equipment and live services require separate verification.

    01Instructions · Markdown
    # N10 · LoRa PHY airtime & duty estimate **PSUT IoT Engineering Studio — Dr. Mohammad Alja’afreh** ## 1. Scientific objective Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload. Complete the analytical worksheet in the portal first. Record your predictions before running this notebook. This notebook is a bounded local computational investigation; use the portal’s separate WSL, hardware or Remix procedure for real interfaces.
    02Instructions · Markdown
    ## Experiment-specific preparation Calculate transmission time as a function of spreading factor, bandwidth, coding rate and payload. **Reference procedure (use the matching simulator/WSL tool where named, not an unrelated service):** 1. Set PHY payload (bytes) = 20; Spreading factor = 7; Bandwidth (kHz) = 125; Coding rate denominator offset (4/(4+CR)) = 1; Report period (s) = 60. Observe the calculated results and trace. 2. Change Spreading factor = 12. Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7. 3. Restore the reference values. Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim. **Evidence:** **Boundary:**
    03Instructions · Markdown
    ## 2. Reference configuration and investigation 1. Set PHY payload (bytes) = 20; Spreading factor = 7; Bandwidth (kHz) = 125; Coding rate denominator offset (4/(4+CR)) = 1; Report period (s) = 60. Observe the calculated results and trace. 2. Change Spreading factor = 12. Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7. 3. Restore the reference values. Explicit header, CRC and 8-symbol preamble. PHY payload includes whatever MAC bytes are supplied; airtime is not LoRaWAN application-payload airtime unless overhead is accounted for. No legal duty-cycle claim. Run cells in order; do not substitute model results for physical measurements.
    04Instructions · Markdown
    ## 3. Calculate LoRa airtime using explicit header, CRC, preamble 8 and CR 4/5.
    05Python · executable cell
    PYTHON · Code cell
    # =====================================================================
    # N10 | Code cell 01 | LoRa PHY airtime & duty estimate
    # Purpose: 3. Calculate LoRa airtime using explicit header, CRC, preamble 8 and CR 4/5.
    # Inputs: the explicit fixture/settings below and any preceding cell state.
    # Output: inspect printed values, returned records or assertions; record evidence.
    # =====================================================================
    import math
    # Define the reusable operation airtime; keep its logic separate from the trial.
    def airtime(sf,payload=20,bw=125000,cr=1):
        ts=2**sf/bw; de=int(ts>=.016); ih=0; crc=1
        symbols=8+max(math.ceil((8*payload-4*sf+28+16*crc-20*ih)/(4*(sf-2*de)))*(cr+4),0)
        return (8+4.25+symbols)*ts
    # Check the expected invariant so a mismatch fails visibly instead of appearing successful.
    assert abs(airtime(7)*1000-56.576)<1e-6
    # Check the expected invariant so a mismatch fails visibly instead of appearing successful.
    assert abs(airtime(12)*1000-1318.912)<1e-6
    
    Ask Dr. Mohammad about this cell
    06Instructions · Markdown
    ## 4. Compare duty fraction for a 60-second interval.
    07Python · executable cell
    PYTHON · Code cell
    # =====================================================================
    # N10 | Code cell 02 | LoRa PHY airtime & duty estimate
    # Purpose: 4. Compare duty fraction for a 60-second interval.
    # Inputs: the explicit fixture/settings below and any preceding cell state.
    # Output: inspect printed values, returned records or assertions; record evidence.
    # =====================================================================
    # Repeat the same operation for each configured input so observations are comparable.
    for sf in (7,9,12):print(sf,airtime(sf)*1000,100*airtime(sf)/60)
    
    Ask Dr. Mohammad about this cell
    08Instructions · Markdown
    ## Experimental analysis and submission 1. Record the reference input, predicted output and actual result. 2. Modify one independent variable and run the relevant cells again. 3. Explain the result using the theory and identify model limitations. 4. Save the notebook with outputs and retain the separate theoretical worksheet. **Your derivation and conclusion:** (Complete independently.)
    09Instructions · Markdown
    ## Guided reasoning and evidence A controlled comparison changes one independent input while keeping the other relevant inputs fixed; the dependent variable is the recorded output. Use this lab’s reference condition above. **Independent task:** 2. Change Spreading factor = 12. Baseline 56.576 ms. SF12, BW125, 20 B: 1318.912 ms with low data rate optimization. Restore SF7. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat. | Trial | Input/configuration | Prediction | Observation | Evidence / limitation | |---|---|---|---|---| | A | Reference | | | | | B | Changed input | | | | | A repeat | Reference | | | | A conclusion is supported only when it cites the recorded values or observed states and explains them with the experiment theory.
    Shared research workbenches · network designer & advanced studies
    Concurrent-device simulation & Monte Carlo research
    Distributed digital twin · topology, protocol & battery research