The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import org.apache.commons.codec.binary.Base64;import com.rapidminer.operator.Operator;import com.rapidminer.operator.OperatorDescription;import com.rapidminer.operator.nio.file.SimpleFileObject;String originalString = "Just a text";byte[] decodedBytes = Base64.decodeBase64(originalString);File tempFile = null;try { tempFile = File.createTempFile("rm-", ".tempFile"); tempFile.deleteOnExit(); FileOutputStream fos = new FileOutputStream(tempFile); fos.write(decodedBytes); fos.close();} catch (IOException e) { throw new RuntimeException(e);}SimpleFileObject fileObject = new SimpleFileObject(tempFile);return fileObject
import java.util.Base64;import java.io.FileOutputStream;import java.io.IOException;public class ExcelFromBase64 { public static void writeExcelFromBase64(String base64) throws IOException { byte[] decodedBytes = Base64.getDecoder().decode(base64); FileOutputStream fos = new FileOutputStream("%{Path}"); fos.write(decodedBytes); fos.close(); } public static void main(String[] args) throws IOException { String base64 = "%{base64}"; writeExcelFromBase64(base64); }}
Join us for a community conversation on Pulse Width Modulation (PWM), a fundamental technique in electric motor control, and explore how different PWM strategies can yield significantly different results. This webinar provides a comparative analysis of various PWM methods and their effects on motor efficiency, torque…
Join us for a community conversation to discover the Advanced Iterative Solver(AIS) in Simcenter Feko and its application to electrically large and computationally demanding electromagnetic models. The session will provide a general overview of how iterative solution methods can help improve efficiency of large scale…
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…