This study presents a multivariable linear generator which can convert wave energy directly into electrical energy. Based on the varying induction segment length over time, this study established an operational simulation of the multivariable linear generator while simultaneously constructing a multivariable generator device that considers the relationship between the number of vertical movements, the change in induction coils, the magnetic flux density, and other coefficients. Using finite element analysis, this study then analyzed the magnetic flux distribution for a single-stem linear generator and optimized the wiring. This method can be used to determine the wiring direction and coil thickness. The attraction between the magnet and the iron core is used to overcome the alternating magnetic fields, and linear motion with less stress is used to generate power. The generator developed in this study can generate 21.21W power in 0.36 square meters area. We built a low cost, simple structure and multi-purpose human kinetic energy linear generator first for demonstration.