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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: other
|
| 4 |
+
license_link: LICENSE
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# Telegraphing Without Wires (1884) — Finite-Difference Simulator and Synthetic Dataset Reconstruction
|
| 8 |
+
|
| 9 |
+
**Developed by:** DBbun LLC
|
| 10 |
+
**Version:** v1.1
|
| 11 |
+
**Data Formats:** CSV · JSON · NPZ · PNG
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## Who Should Use This Dataset
|
| 16 |
+
|
| 17 |
+
This dataset is intended for:
|
| 18 |
+
|
| 19 |
+
- **Students** studying electromagnetism, signal processing, or numerical simulation
|
| 20 |
+
- **Engineers** exploring signal transmission in conductive media
|
| 21 |
+
- **Data scientists** working with physics-generated structured data
|
| 22 |
+
- **Researchers** interested in executable reconstructions of historical experiments
|
| 23 |
+
- **Educators** integrating computational laboratories into coursework
|
| 24 |
+
|
| 25 |
+
It provides a reproducible computational environment for studying signal transmission through conductive media, bridging physical modeling, circuit abstraction, and time-domain system behavior.
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## Abstract
|
| 30 |
+
|
| 31 |
+
This dataset provides a computational reconstruction of S. J. M. Bear's 1884 experiment *"Telegraphing Without Wires,"* originally presented before the American Institute of Electrical Engineers. The project transforms a pre-digital manuscript — written decades before computers and numerical modeling — into a fully reproducible finite-difference simulation framework. By solving the variable-conductivity Laplace equation, it enables quantitative analysis of electric potential fields, current density distributions, and receiver behavior in conductive media.
|
| 32 |
+
|
| 33 |
+
The dataset includes multi-scenario simulations with spatially varying conductivity (uniform media, freshwater–brine interfaces, insulating obstacles, conductive paths, and localized plumes). Receiver behavior is modeled using a Thevenin-equivalent formulation with relay resistance and threshold dynamics. Time-domain simulations capture keying signals, electrode polarization effects, and relay actuation.
|
| 34 |
+
|
| 35 |
+
Beyond historical reconstruction, this resource serves as an educational and research platform:
|
| 36 |
+
|
| 37 |
+
- **For students:** a hands-on bridge between electromagnetic theory, partial differential equations, numerical methods, and signal processing.
|
| 38 |
+
- **For engineers:** a sandbox for studying signal transmission in conductive environments (e.g., underwater communication, geophysical sensing, bioelectric systems).
|
| 39 |
+
- **For data scientists:** structured, multi-modal datasets suitable for statistical modeling, inverse problems, parameter estimation, surrogate modeling, and machine learning experiments on physics-generated data.
|
| 40 |
+
|
| 41 |
+
All outputs are provided in CSV, JSON, and compressed NumPy formats to support reproducibility and downstream analysis. The included Python source code regenerates all scenarios.
|
| 42 |
+
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
## Dataset Structure
|
| 46 |
+
|
| 47 |
+
Each experiment generates:
|
| 48 |
+
|
| 49 |
+
| File | Description |
|
| 50 |
+
|------|-------------|
|
| 51 |
+
| `*_fields.npz` | Spatial field arrays (potential, electric field, current density) |
|
| 52 |
+
| `*_timeseries.csv` | Time-domain signal and relay behavior |
|
| 53 |
+
| `*_summary.json` | Per-experiment scalar results and circuit parameters |
|
| 54 |
+
| `figs/` | Figures directory |
|
| 55 |
+
|
| 56 |
+
Global outputs:
|
| 57 |
+
|
| 58 |
+
| File | Description |
|
| 59 |
+
|------|-------------|
|
| 60 |
+
| `experiment_summary_v1p1.csv` | Aggregated scalar results across all experiments |
|
| 61 |
+
| `experiment_summary_v1p1.json` | JSON equivalent of the above |
|
| 62 |
+
| `sweep_sigma_v1p1.csv` | Conductivity sweep results |
|
| 63 |
+
| `sweep_sigma_v1p1.json` | JSON equivalent of the sweep |
|
| 64 |
+
| `manifest_v1p1.json` | File inventory and checksums |
|
| 65 |
+
| `run_meta_v1p1.json` | Run metadata (version, timestamp, grid parameters) |
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## NPZ File Specification (`*_fields.npz`)
|
| 70 |
+
|
| 71 |
+
### Material Map
|
| 72 |
+
|
| 73 |
+
| Array | Type | Description |
|
| 74 |
+
|-------|------|-------------|
|
| 75 |
+
| `sigma` | 2D float | Spatial conductivity map of the tub. Higher values indicate more conductive regions; lower values indicate less conductive or insulating regions. |
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
### Base 1-Volt Sending Condition
|
| 80 |
+
|
| 81 |
+
| Array | Type | Description |
|
| 82 |
+
|-------|------|-------------|
|
| 83 |
+
| `V_tub_1V` | 2D float | Potential distribution when 1 volt is applied across the sending electrodes. |
|
| 84 |
+
| `Ex_1V` | 2D float | Horizontal component of the electric field under the 1-volt sending condition. |
|
| 85 |
+
| `Ey_1V` | 2D float | Vertical component of the electric field under the 1-volt sending condition. |
|
| 86 |
+
| `Emag_1V` | 2D float | Magnitude of the electric field at each spatial location. |
|
| 87 |
+
| `Jx_1V` | 2D float | Horizontal component of current density. |
|
| 88 |
+
| `Jy_1V` | 2D float | Vertical component of current density. |
|
| 89 |
+
| `Jmag_1V` | 2D float | Magnitude of current density. |
|
| 90 |
+
|
| 91 |
+
---
|
| 92 |
+
|
| 93 |
+
### Delivered Voltage Fields
|
| 94 |
+
|
| 95 |
+
| Array | Type | Description |
|
| 96 |
+
|-------|------|-------------|
|
| 97 |
+
| `V_delivered_no_pol` | 2D float | Potential distribution accounting for battery internal resistance and contact resistance, without polarization. |
|
| 98 |
+
| `V_delivered_pol` | 2D float | Potential distribution including steady-state electrode polarization effects. |
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
### Receiver-Port Solution
|
| 103 |
+
|
| 104 |
+
| Array | Type | Description |
|
| 105 |
+
|-------|------|-------------|
|
| 106 |
+
| `V_port_1V` | 2D float | Potential distribution when 1 volt is applied directly across the receiver electrodes. Used to estimate the receiver's effective resistance. |
|
| 107 |
+
|
| 108 |
+
---
|
| 109 |
+
|
| 110 |
+
### Electrode Masks
|
| 111 |
+
|
| 112 |
+
Binary arrays (0 or 1):
|
| 113 |
+
|
| 114 |
+
| Array | Description |
|
| 115 |
+
|-------|-------------|
|
| 116 |
+
| `tx_plus` | Positive sending electrode region |
|
| 117 |
+
| `tx_minus` | Negative sending electrode region |
|
| 118 |
+
| `rx1` | First receiver electrode |
|
| 119 |
+
| `rx2` | Second receiver electrode |
|
| 120 |
+
|
| 121 |
+
---
|
| 122 |
+
|
| 123 |
+
## Time-Series CSV Specification (`*_timeseries.csv`)
|
| 124 |
+
|
| 125 |
+
| Column | Description |
|
| 126 |
+
|--------|-------------|
|
| 127 |
+
| `t` | Simulation time in seconds |
|
| 128 |
+
| `key` | Telegraph key state (1 = pressed, 0 = released) |
|
| 129 |
+
| `Vpol` | Electrode polarization voltage |
|
| 130 |
+
| `Vtub` | Voltage delivered across the tub |
|
| 131 |
+
| `Isource` | Current supplied by the battery |
|
| 132 |
+
| `Vth` | Effective voltage at the receiver |
|
| 133 |
+
| `Irelay` | Current flowing through the relay |
|
| 134 |
+
| `relay_state` | Relay state (1 = closed, 0 = open) |
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
|
| 138 |
+
## Per-Experiment Summary JSON Fields (`*_summary.json`)
|
| 139 |
+
|
| 140 |
+
| Field | Description |
|
| 141 |
+
|-------|-------------|
|
| 142 |
+
| `name` | Experiment identifier |
|
| 143 |
+
| `sigma_map_name` | Conductivity scenario used |
|
| 144 |
+
| `battery_voltage` | Battery voltage |
|
| 145 |
+
| `battery_internal_resistance_ohm` | Internal battery resistance |
|
| 146 |
+
| `electrode_contact_resistance_ohm` | Electrode contact resistance |
|
| 147 |
+
| `relay_resistance_ohm` | Relay resistance |
|
| 148 |
+
| `relay_pull_in_current` | Current required to activate relay |
|
| 149 |
+
| `relay_release_current` | Current below which relay releases |
|
| 150 |
+
| `Vth_per_1V` | Receiver voltage scaling factor |
|
| 151 |
+
| `Rth_ohm_like` | Effective resistance at receiver port |
|
| 152 |
+
| `delivered_tub_voltage_no_pol` | Tub voltage without polarization |
|
| 153 |
+
| `delivered_tub_voltage_with_pol` | Tub voltage with polarization |
|
| 154 |
+
| `Irelay_no_pol` | Relay current without polarization |
|
| 155 |
+
| `Irelay_with_pol` | Relay current with polarization |
|
| 156 |
+
| `relay_click_no_pol` | Relay activation without polarization (bool) |
|
| 157 |
+
| `relay_click_with_pol` | Relay activation with polarization (bool) |
|
| 158 |
+
| `tub_resistance_ohm_like` | Effective tub resistance |
|
| 159 |
+
| `source_current_no_pol` | Battery current without polarization |
|
| 160 |
+
| `source_current_with_pol` | Battery current with polarization |
|
| 161 |
+
|
| 162 |
+
---
|
| 163 |
+
|
| 164 |
+
## Conductivity Sweep Dataset (`sweep_sigma_v1p1.csv`)
|
| 165 |
+
|
| 166 |
+
| Column | Description |
|
| 167 |
+
|--------|-------------|
|
| 168 |
+
| `sigma` | Uniform conductivity value |
|
| 169 |
+
| `R_tub` | Effective tub resistance |
|
| 170 |
+
| `Vth_per_1V` | Receiver scaling factor |
|
| 171 |
+
| `Rth` | Effective receiver resistance |
|
| 172 |
+
| `Vtub_no_pol` | Delivered voltage without polarization |
|
| 173 |
+
| `Irelay_no_pol` | Relay current without polarization |
|
| 174 |
+
| `click_no_pol` | Relay activation without polarization (0/1) |
|
| 175 |
+
| `Vtub_pol` | Delivered voltage with polarization |
|
| 176 |
+
| `Irelay_pol` | Relay current with polarization |
|
| 177 |
+
| `click_pol` | Relay activation with polarization (0/1) |
|
| 178 |
+
|
| 179 |
+
---
|
| 180 |
+
|
| 181 |
+
## Reproducibility
|
| 182 |
+
|
| 183 |
+
Run:
|
| 184 |
+
|
| 185 |
+
```bash
|
| 186 |
+
python Bear-1884-Code-v1.1.py
|
| 187 |
+
```
|
| 188 |
+
|
| 189 |
+
Outputs are generated under:
|
| 190 |
+
|
| 191 |
+
```
|
| 192 |
+
output/
|
| 193 |
+
output/figs/
|
| 194 |
+
```
|
| 195 |
+
|
| 196 |
+
**Dependencies:**
|
| 197 |
+
|
| 198 |
+
- `numpy`
|
| 199 |
+
- `scipy`
|
| 200 |
+
- `matplotlib`
|
| 201 |
+
|
| 202 |
+
---
|
| 203 |
+
|
| 204 |
+
## Contribution
|
| 205 |
+
|
| 206 |
+
Developed by **DBbun LLC**, this project demonstrates how a historical scientific experiment can be transformed into a structured, reproducible computational laboratory suitable for education, engineering analysis, and data-driven research.
|